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.007118/0.007118, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00135/0.00135, allocations: 195.9 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7746/0.7746, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 68.33 kB / 0.5809 GB, free: 1.293 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1673, allocations: 80.21 MB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003058/0.1704, allocations: 1.436 MB / 0.6606 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.171, allocations: 187.4 kB / 0.6608 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1711, allocations: 0 / 0.6608 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.1712, allocations: 0 / 0.6608 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.1715, allocations: 23.84 kB / 0.6608 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1717, allocations: 57.73 kB / 0.6609 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1719, allocations: 51.89 kB / 0.6609 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.172, allocations: 4 kB / 0.6609 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1721, allocations: 27.92 kB / 0.661 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.1722, allocations: 15.92 kB / 0.661 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1722, allocations: 4 kB / 0.661 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.1722, allocations: 4 kB / 0.661 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.1723, allocations: 23.91 kB / 0.661 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.1723, allocations: 15.92 kB / 0.661 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1725, allocations: 42.69 kB / 0.6611 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1725, allocations: 3.984 kB / 0.6611 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1725, allocations: 3.938 kB / 0.6611 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1725, allocations: 0 / 0.6611 GB, free: 12.22 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.0006334/0.1731, allocations: 344.3 kB / 0.6614 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1732, allocations: 12.03 kB / 0.6614 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.1732, allocations: 34.75 kB / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.1733, allocations: 0.9375 kB / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1735, allocations: 172.3 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1735, allocations: 384 / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1735, allocations: 4.375 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1737, allocations: 76.75 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1737, allocations: 3.938 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1737, allocations: 0 / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1737, allocations: 0 / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.1738, allocations: 12 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.1743, allocations: 264.8 kB / 0.662 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1744, allocations: 50.45 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.1744, allocations: 16.94 kB / 0.662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1745, allocations: 0 / 0.662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1746, allocations: 59.39 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1747, allocations: 3.938 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002262/0.1749, allocations: 85.59 kB / 0.6622 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.175, allocations: 102.8 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.175, allocations: 105.9 kB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1751, allocations: 25.7 kB / 0.6624 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.1751, allocations: 88.12 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1751, allocations: 11.81 kB / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1752, allocations: 21.7 kB / 0.6625 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.1753, allocations: 314.8 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.1753, allocations: 8 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.1754, allocations: 38.56 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.1754, allocations: 28.8 kB / 0.6629 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1754, allocations: 384 / 0.6629 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.886e-05/0.1755, allocations: 65.62 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1756, allocations: 4 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1756, allocations: 0 / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1756, allocations: 4 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.1757, allocations: 7.984 kB / 0.663 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1757, allocations: 0 / 0.663 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1758, allocations: 12.02 kB / 0.663 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1758, allocations: 4 kB / 0.663 GB, free: 10.01 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 9.474e-05/0.1759, allocations: 118.4 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.1759, allocations: 0 / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.176, allocations: 11.44 kB / 0.6631 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.176, allocations: 4 kB / 0.6631 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.176, allocations: 0 / 0.6631 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.176, allocations: 0 / 0.6631 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.1761, allocations: 181.4 kB / 0.6633 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1761, allocations: 0 / 0.6633 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.1762, allocations: 4 kB / 0.6633 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1762, allocations: 4 kB / 0.6633 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1762, allocations: 4 kB / 0.6633 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1762, allocations: 3.938 kB / 0.6633 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1762, allocations: 0 / 0.6633 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1763, allocations: 85.05 kB / 0.6634 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1764, allocations: 93.03 kB / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1764, allocations: 4 kB / 0.6635 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1765, allocations: 11.98 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1766, allocations: 0 / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1766, allocations: 8 kB / 0.6635 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.1767, allocations: 87.33 kB / 0.6636 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1767, allocations: 0 / 0.6636 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000211/0.1769, allocations: 12 kB / 0.6636 GB, free: 9.289 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.0004088/0.1773, allocations: 0.6357 MB / 0.6642 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1774, allocations: 27.98 kB / 0.6642 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1774, allocations: 0 / 0.6642 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.1775, allocations: 19.94 kB / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1777, allocations: 11.5 kB / 0.6642 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1787, allocations: 1.172 MB / 0.6654 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.1789, allocations: 0.6772 MB / 0.6661 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.1789, allocations: 8.094 kB / 0.6661 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.179, allocations: 19.38 kB / 0.6661 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.179, allocations: 0 / 0.6661 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.1975, allocations: 1.774 MB / 0.6678 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.361, allocations: 4.516 kB / 0.6678 GB, free: 4.984 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)