Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.004894/0.004898, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001116/0.001116, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7936/0.7936, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 62.41 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1559, allocations: 80.22 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003575/0.1595, allocations: 1.424 MB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005721/0.1601, allocations: 191.4 kB / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.1602, allocations: 0 / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.1602, allocations: 0 / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1606, allocations: 23.84 kB / 0.6608 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1608, allocations: 56.84 kB / 0.6609 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1609, allocations: 51.89 kB / 0.6609 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.161, allocations: 8 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.1611, allocations: 31.86 kB / 0.6609 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.1612, allocations: 19.86 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1612, allocations: 4 kB / 0.661 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.1612, allocations: 4 kB / 0.661 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.1613, allocations: 15.97 kB / 0.661 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1613, allocations: 15.92 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1614, allocations: 46.67 kB / 0.661 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1614, allocations: 4 kB / 0.661 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1615, allocations: 0 / 0.661 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1615, allocations: 0 / 0.661 GB, free: 8.84 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.000509/0.162, allocations: 344.3 kB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.162, allocations: 12.03 kB / 0.6614 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.1621, allocations: 30.75 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1621, allocations: 0.9375 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1622, allocations: 184.2 kB / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1623, allocations: 384 / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1623, allocations: 4.375 kB / 0.6616 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1624, allocations: 72.75 kB / 0.6617 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1624, allocations: 3.938 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1625, allocations: 4 kB / 0.6617 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1625, allocations: 0 / 0.6617 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.1625, allocations: 12 kB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.1629, allocations: 264.9 kB / 0.6619 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.609e-05/0.163, allocations: 38.45 kB / 0.662 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.163, allocations: 20.94 kB / 0.662 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1631, allocations: 0 / 0.662 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.1632, allocations: 63.39 kB / 0.6621 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.1632, allocations: 0 / 0.6621 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002092/0.1634, allocations: 81.73 kB / 0.6621 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.1635, allocations: 102.8 kB / 0.6622 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.1636, allocations: 105.9 kB / 0.6623 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1636, allocations: 29.7 kB / 0.6624 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1636, allocations: 84.12 kB / 0.6624 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1637, allocations: 11.81 kB / 0.6625 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.1637, allocations: 21.7 kB / 0.6625 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1638, allocations: 318.8 kB / 0.6628 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.1639, allocations: 8 kB / 0.6628 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-05/0.1639, allocations: 38.56 kB / 0.6628 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.164, allocations: 24.8 kB / 0.6628 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.164, allocations: 0 / 0.6628 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.1641, allocations: 69.61 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1641, allocations: 7.938 kB / 0.6629 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1641, allocations: 0 / 0.6629 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1642, allocations: 4 kB / 0.6629 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.1642, allocations: 8.422 kB / 0.6629 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1642, allocations: 0 / 0.6629 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1644, allocations: 7.984 kB / 0.6629 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1644, allocations: 12.03 kB / 0.663 GB, free: 6.621 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 8e-05/0.1645, allocations: 118.7 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.1645, allocations: 3.906 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.1645, allocations: 3.5 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1645, allocations: 4 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1645, allocations: 0 / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1645, allocations: 0 / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1646, allocations: 181.5 kB / 0.6632 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.1647, allocations: 0 / 0.6632 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.1647, allocations: 11.94 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1647, allocations: 0 / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1647, allocations: 0 / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1647, allocations: 0 / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1647, allocations: 0 / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.1649, allocations: 93.05 kB / 0.6633 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1649, allocations: 81.09 kB / 0.6634 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1649, allocations: 11.94 kB / 0.6634 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.165, allocations: 11.98 kB / 0.6634 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.1651, allocations: 0 / 0.6634 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1651, allocations: 4 kB / 0.6635 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.1651, allocations: 87.27 kB / 0.6635 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1652, allocations: 0 / 0.6635 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001925/0.1653, allocations: 8 kB / 0.6635 GB, free: 5.91 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.0003914/0.1657, allocations: 0.6357 MB / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1659, allocations: 31.98 kB / 0.6642 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1659, allocations: 0 / 0.6642 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.1659, allocations: 15.94 kB / 0.6642 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.1661, allocations: 5.562 kB / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.1671, allocations: 1.184 MB / 0.6654 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1673, allocations: 0.6768 MB / 0.666 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.1673, allocations: 8.281 kB / 0.666 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1674, allocations: 11.44 kB / 0.6661 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1674, allocations: 0 / 0.6661 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1866, allocations: 1.776 MB / 0.6678 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.268, allocations: 7.672 kB / 0.6678 GB, free: 1.574 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)