Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_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.008486/0.008493, allocations: 101 kB / 15.73 MB, free: 6.039 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.001993/0.001993, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8137/0.8137, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 58.84 kB / 0.5851 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1597, allocations: 80.92 MB / 0.6642 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00334/0.1631, allocations: 1.477 MB / 0.6656 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.1641, allocations: 434.9 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.1642, allocations: 0 / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.1643, allocations: 0 / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.1644, allocations: 19.86 kB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1646, allocations: 15.97 kB / 0.6661 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1647, allocations: 47.8 kB / 0.6661 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1649, allocations: 15.98 kB / 0.6661 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.165, allocations: 15.98 kB / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1651, allocations: 23.91 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1652, allocations: 4 kB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.1652, allocations: 0 / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.1652, allocations: 19.88 kB / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.1653, allocations: 15.92 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.1654, allocations: 42.7 kB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1654, allocations: 3.984 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.965e-06/0.1654, allocations: 0 / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1654, allocations: 3.938 kB / 0.6662 GB, free: 4.145 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.0005017/0.1659, allocations: 348.2 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.166, allocations: 17.11 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/0.166, allocations: 30.75 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.1661, allocations: 4.938 kB / 0.6666 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1662, allocations: 164.4 kB / 0.6668 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1662, allocations: 4.375 kB / 0.6668 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1662, allocations: 384 / 0.6668 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1664, allocations: 61.73 kB / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1664, allocations: 0 / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1664, allocations: 4 kB / 0.6668 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1664, allocations: 4 kB / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.1665, allocations: 23.98 kB / 0.6669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.1669, allocations: 292.6 kB / 0.6672 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1671, allocations: 54.62 kB / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1671, allocations: 24.86 kB / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1671, allocations: 3.984 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1672, allocations: 34.66 kB / 0.6673 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1672, allocations: 3.938 kB / 0.6673 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0002113/0.1674, allocations: 77.62 kB / 0.6673 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1674, allocations: 51.41 kB / 0.6674 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.1675, allocations: 101.8 kB / 0.6675 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1676, allocations: 29.7 kB / 0.6675 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.1676, allocations: 84.05 kB / 0.6676 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1677, allocations: 15.81 kB / 0.6676 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1677, allocations: 21.7 kB / 0.6676 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1678, allocations: 318.8 kB / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.1679, allocations: 4 kB / 0.6679 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.1679, allocations: 11.98 kB / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.941e-05/0.168, allocations: 36.8 kB / 0.668 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.168, allocations: 0 / 0.668 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.369e-05/0.1681, allocations: 53.69 kB / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1681, allocations: 8 kB / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1681, allocations: 0 / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1681, allocations: 4 kB / 0.6681 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.67e-05/0.1682, allocations: 11.98 kB / 0.6681 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1682, allocations: 3.938 kB / 0.6681 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.1682, allocations: 3.938 kB / 0.6681 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1683, allocations: 4 kB / 0.6681 GB, free: 2.035 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 8.236e-05/0.1683, allocations: 117.7 kB / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1684, allocations: 4.094 kB / 0.6682 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1686, allocations: 89.22 kB / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1686, allocations: 7.984 kB / 0.6683 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1686, allocations: 3.984 kB / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1686, allocations: 0 / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1688, allocations: 173.6 kB / 0.6685 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1688, allocations: 448 / 0.6685 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.1689, allocations: 12 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1689, allocations: 0 / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1689, allocations: 8 kB / 0.6685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1689, allocations: 0 / 0.6685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1689, allocations: 7.938 kB / 0.6685 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1691, allocations: 179.4 kB / 0.6686 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.1691, allocations: 81.11 kB / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1692, allocations: 0 / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.1692, allocations: 0 / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.1692, allocations: 7.984 kB / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1692, allocations: 0 / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.1693, allocations: 83.28 kB / 0.6688 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1693, allocations: 0 / 0.6688 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.1695, allocations: 15.94 kB / 0.6688 GB, free: 1.156 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.0004422/0.17, allocations: 0.7136 MB / 0.6695 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1701, allocations: 31.98 kB / 0.6696 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1701, allocations: 0 / 0.6696 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.1702, allocations: 27.92 kB / 0.6696 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1704, allocations: 11.94 kB / 0.6696 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1716, allocations: 1.253 MB / 0.6708 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1719, allocations: 0.6807 MB / 0.6715 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.1719, allocations: 7.984 kB / 0.6715 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.1719, allocations: 15.44 kB / 0.6715 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of SimCode: time 2.465e-06/0.172, allocations: 0 / 0.6715 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.1884, allocations: 1.39 MB / 0.6729 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.649, allocations: 7 kB / 0.6729 GB, free: 13 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)