Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005912/0.005912, allocations: 100.5 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 190 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7499/0.7499, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.5809 GB, free: 8.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.398, allocations: 80.2 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002152/0.4002, allocations: 1.445 MB / 0.6606 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003387/0.4005, allocations: 190.4 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.4006, allocations: 0 / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.4006, allocations: 2.719 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.4008, allocations: 21.41 kB / 0.6608 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.4009, allocations: 62.45 kB / 0.6609 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.401, allocations: 45 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.4011, allocations: 12.19 kB / 0.6609 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.4012, allocations: 29.23 kB / 0.661 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.4012, allocations: 18.58 kB / 0.661 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.4012, allocations: 4.844 kB / 0.661 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.4013, allocations: 3.938 kB / 0.661 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.4013, allocations: 7.672 kB / 0.661 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.4013, allocations: 21.61 kB / 0.661 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.569e-05/0.4014, allocations: 39.77 kB / 0.6611 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4014, allocations: 5.344 kB / 0.6611 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4014, allocations: 0 / 0.6611 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.4015, allocations: 0 / 0.6611 GB, free: 8.609 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000372/0.4018, allocations: 349.3 kB / 0.6614 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.4019, allocations: 9.5 kB / 0.6614 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.4019, allocations: 32.59 kB / 0.6614 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.4019, allocations: 4.531 kB / 0.6614 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.402, allocations: 164.5 kB / 0.6616 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.402, allocations: 384 / 0.6616 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.402, allocations: 11.81 kB / 0.6616 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.4022, allocations: 66.92 kB / 0.6617 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4022, allocations: 3.938 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4022, allocations: 1.375 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4022, allocations: 0 / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.4022, allocations: 22.56 kB / 0.6617 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.4025, allocations: 275.7 kB / 0.662 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.4026, allocations: 42.27 kB / 0.662 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.4027, allocations: 17.64 kB / 0.662 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.4027, allocations: 0 / 0.662 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.4028, allocations: 62.98 kB / 0.6621 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.4028, allocations: 4 kB / 0.6621 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001792/0.403, allocations: 73.78 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4031, allocations: 104.6 kB / 0.6623 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/0.4031, allocations: 104.6 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.4031, allocations: 27.08 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.4032, allocations: 85.91 kB / 0.6625 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.4032, allocations: 14.48 kB / 0.6625 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4032, allocations: 23.02 kB / 0.6625 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.4033, allocations: 317.5 kB / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.4033, allocations: 9.797 kB / 0.6628 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.4033, allocations: 36.11 kB / 0.6628 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.4034, allocations: 37.44 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4034, allocations: 1.219 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.327e-05/0.4035, allocations: 55.53 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.4035, allocations: 7.062 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.4035, allocations: 0 / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.4035, allocations: 0.5156 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.4036, allocations: 10.69 kB / 0.6629 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.4036, allocations: 1.219 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.863e-05/0.4037, allocations: 12.61 kB / 0.663 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.4037, allocations: 1.984 kB / 0.663 GB, free: 6.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.4038, allocations: 114.6 kB / 0.6631 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.4038, allocations: 1.984 kB / 0.6631 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.4038, allocations: 9.219 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4038, allocations: 1.375 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4038, allocations: 7.938 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4038, allocations: 0.8906 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.273e-05/0.4039, allocations: 175.6 kB / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4039, allocations: 3.984 kB / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.404, allocations: 7.422 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.404, allocations: 1.375 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.404, allocations: 0.6094 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.404, allocations: 1.531 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.404, allocations: 0.6094 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.4041, allocations: 93.09 kB / 0.6634 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.4041, allocations: 83.12 kB / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.4042, allocations: 5.938 kB / 0.6634 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.4043, allocations: 8.844 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.4043, allocations: 11.52 kB / 0.6635 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4043, allocations: 2.312 kB / 0.6635 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.4043, allocations: 82.27 kB / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4043, allocations: 3.938 kB / 0.6636 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001869/0.4045, allocations: 17.97 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/0.4048, allocations: 0.6255 MB / 0.6642 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4049, allocations: 33.5 kB / 0.6642 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4049, allocations: 0 / 0.6642 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.405, allocations: 14.91 kB / 0.6642 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4051, allocations: 13.16 kB / 0.6642 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/0.4058, allocations: 1.163 MB / 0.6654 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.4059, allocations: 0.6785 MB / 0.666 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.4059, allocations: 6.438 kB / 0.666 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.406, allocations: 13.58 kB / 0.6661 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.406, allocations: 0.5625 kB / 0.6661 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.4232, allocations: 1.763 MB / 0.6678 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.499, allocations: 12.17 kB / 0.6678 GB, free: 2.82 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)