Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.003986/0.003986, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.00171/0.00171, allocations: 192.9 kB / 16.67 MB, free: 5.934 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002351/0.002351, allocations: 291.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 103.8 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1562, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002644/0.1589, allocations: 1.489 MB / 0.7674 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.1597, allocations: 467.3 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.1598, allocations: 4 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.1598, allocations: 3.938 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.16, allocations: 19.84 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.436e-05/0.1601, allocations: 19.98 kB / 0.7679 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.1602, allocations: 55.72 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.1603, allocations: 8.281 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.1604, allocations: 27.97 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.1605, allocations: 19.86 kB / 0.768 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1605, allocations: 4 kB / 0.768 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.1606, allocations: 4 kB / 0.768 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.1606, allocations: 11.98 kB / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1606, allocations: 19.86 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.1607, allocations: 55.69 kB / 0.7681 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1607, allocations: 0 / 0.7681 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1607, allocations: 0 / 0.7681 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.1608, allocations: 0 / 0.7681 GB, free: 6.742 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005548/0.1613, allocations: 359.3 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1614, allocations: 8.031 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.1614, allocations: 38.73 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.1614, allocations: 0.9375 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1616, allocations: 176.3 kB / 0.7686 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1616, allocations: 8.375 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.1616, allocations: 384 / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1617, allocations: 57.8 kB / 0.7687 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1618, allocations: 0 / 0.7687 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1618, allocations: 3.938 kB / 0.7687 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1618, allocations: 0 / 0.7687 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.1618, allocations: 19.98 kB / 0.7687 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1622, allocations: 276.8 kB / 0.769 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.1623, allocations: 46.58 kB / 0.769 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.1624, allocations: 24.94 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1624, allocations: 3.938 kB / 0.769 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.1625, allocations: 63.39 kB / 0.7691 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1625, allocations: 0 / 0.7691 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002097/0.1628, allocations: 85.62 kB / 0.7692 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1628, allocations: 59.41 kB / 0.7692 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.1629, allocations: 109.8 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1629, allocations: 29.64 kB / 0.7694 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.163, allocations: 84.14 kB / 0.7694 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.163, allocations: 11.91 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1631, allocations: 21.7 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1632, allocations: 318.8 kB / 0.7698 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.1632, allocations: 11.98 kB / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.1633, allocations: 19.94 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.739e-05/0.1634, allocations: 32.86 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1634, allocations: 0 / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001604/0.1636, allocations: 65.64 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1636, allocations: 4 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1636, allocations: 0 / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1636, allocations: 4 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.1637, allocations: 11.92 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1637, allocations: 0 / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.1638, allocations: 4 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1638, allocations: 4 kB / 0.7699 GB, free: 4.582 MB / 0.5606 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 0.0001167/0.164, allocations: 118.4 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.164, allocations: 4 kB / 0.77 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.164, allocations: 11.95 kB / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.164, allocations: 0 / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.164, allocations: 0 / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.164, allocations: 0 / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1642, allocations: 177.5 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1643, allocations: 0 / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.1643, allocations: 12.42 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1643, allocations: 0 / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1643, allocations: 0 / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.1643, allocations: 4 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1644, allocations: 0 / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.1646, allocations: 101 kB / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.1646, allocations: 88.98 kB / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1647, allocations: 3.938 kB / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.1648, allocations: 8 kB / 0.7704 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1648, allocations: 7.969 kB / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1648, allocations: 4 kB / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.874e-05/0.1649, allocations: 91.28 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.1649, allocations: 0 / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003752/0.1653, allocations: 8 kB / 0.7705 GB, free: 3.859 MB / 0.5606 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0005857/0.1659, allocations: 0.6382 MB / 0.7712 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1661, allocations: 35.98 kB / 0.7712 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.1661, allocations: 0 / 0.7712 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/0.1662, allocations: 27.86 kB / 0.7712 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1664, allocations: 4 kB / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1677, allocations: 1.224 MB / 0.7724 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.168, allocations: 0.6846 MB / 0.7731 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.1681, allocations: 8 kB / 0.7731 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1681, allocations: 15.44 kB / 0.7731 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.1681, allocations: 0 / 0.7731 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3999/0.568, allocations: 1.524 MB / 0.7746 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.509/9.077, allocations: 9.75 kB / 0.7746 GB, free: 14.53 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)