Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.006282/0.006282, allocations: 100.7 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.001357/0.001357, allocations: 197.4 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.316/1.316, 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.74/0.74, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.56 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1561, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003454/0.1596, allocations: 1.475 MB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007617/0.1604, allocations: 430.9 kB / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-05/0.1605, allocations: 0 / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.1605, allocations: 11.92 kB / 0.6611 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.1607, allocations: 7.922 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1609, allocations: 15.98 kB / 0.6611 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.161, allocations: 43.84 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1611, allocations: 19.92 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1613, allocations: 23.92 kB / 0.6612 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.1614, allocations: 15.92 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1614, allocations: 11.94 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.1614, allocations: 4 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.1615, allocations: 11.92 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.1615, allocations: 15.94 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.1616, allocations: 42.69 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1617, allocations: 4 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1617, allocations: 0 / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1617, allocations: 0 / 0.6613 GB, free: 11.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006411/0.1623, allocations: 348.2 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1624, allocations: 8.031 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1624, allocations: 42.69 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.1625, allocations: 4.922 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1626, allocations: 172.3 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1627, allocations: 4.375 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1627, allocations: 4.375 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1628, allocations: 57.8 kB / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1629, allocations: 0 / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1629, allocations: 4 kB / 0.6619 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1629, allocations: 0 / 0.6619 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.163, allocations: 31.92 kB / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.1634, allocations: 280.7 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1637, allocations: 58.59 kB / 0.6622 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.1638, allocations: 36.92 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1638, allocations: 0 / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1638, allocations: 30.56 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1638, allocations: 0 / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0002605/0.1641, allocations: 69.86 kB / 0.6624 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1642, allocations: 51.41 kB / 0.6624 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.1643, allocations: 97.86 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1643, allocations: 25.7 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.1643, allocations: 96.05 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1644, allocations: 15.78 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1644, allocations: 17.72 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1645, allocations: 314.8 kB / 0.663 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.1646, allocations: 23.98 kB / 0.663 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1646, allocations: 11.94 kB / 0.663 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.1647, allocations: 28.84 kB / 0.663 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1647, allocations: 0 / 0.663 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.916e-05/0.1648, allocations: 61.69 kB / 0.6631 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1648, allocations: 9.406 kB / 0.6631 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1648, allocations: 0 / 0.6631 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1649, allocations: 4 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.1649, allocations: 4 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1649, allocations: 3.938 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.165, allocations: 11.84 kB / 0.6631 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.165, allocations: 3.984 kB / 0.6631 GB, free: 9.75 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: 0 () * 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.54e-05/0.1651, allocations: 118.4 kB / 0.6632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.1651, allocations: 4 kB / 0.6632 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.1653, allocations: 81.23 kB / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1653, allocations: 4 kB / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1653, allocations: 0 / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1653, allocations: 192 / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1655, allocations: 181.6 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1655, allocations: 0 / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.1656, allocations: 19.92 kB / 0.6635 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1656, allocations: 3.984 kB / 0.6635 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1656, allocations: 0 / 0.6635 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1656, allocations: 4.188 kB / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1656, allocations: 0 / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.1658, allocations: 175.4 kB / 0.6637 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.1658, allocations: 81.11 kB / 0.6638 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1659, allocations: 3.984 kB / 0.6638 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.1659, allocations: 4 kB / 0.6638 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.1659, allocations: 4 kB / 0.6638 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.166, allocations: 0 / 0.6638 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.166, allocations: 83.28 kB / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.166, allocations: 0 / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.1662, allocations: 15.94 kB / 0.6639 GB, free: 8.879 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0004273/0.1667, allocations: 0.7006 MB / 0.6646 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.1668, allocations: 39.97 kB / 0.6646 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1668, allocations: 7.938 kB / 0.6646 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.483e-05/0.1669, allocations: 27.98 kB / 0.6646 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1671, allocations: 0 / 0.6646 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1683, allocations: 1.254 MB / 0.6658 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1685, allocations: 0.6846 MB / 0.6665 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.1686, allocations: 0 / 0.6665 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.1686, allocations: 23.42 kB / 0.6665 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1686, allocations: 0 / 0.6665 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.1855, allocations: 1.387 MB / 0.6679 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.108, allocations: 8.094 kB / 0.6679 GB, free: 4.762 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)