Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",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.004483/0.004483, allocations: 101.8 kB / 15.73 MB, free: 6.469 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.001118/0.001118, allocations: 194 kB / 16.67 MB, free: 6.379 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 271.1 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8945/0.8945, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 103.9 kB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1666, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001558/0.1682, allocations: 0.5882 MB / 0.7664 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 3.658e-05/0.1682, allocations: 8 kB / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.1682, allocations: 0 / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.1683, allocations: 0 / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.1683, allocations: 0 / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.694e-05/0.1683, allocations: 0 / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.1684, allocations: 0 / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.1684, allocations: 7.984 kB / 0.7665 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.1684, allocations: 7.938 kB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.1685, allocations: 0 / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1685, allocations: 0 / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-06/0.1685, allocations: 0 / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.1685, allocations: 0 / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.1685, allocations: 0 / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.103e-05/0.1686, allocations: 0 / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1686, allocations: 3.938 kB / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1686, allocations: 0 / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1686, allocations: 4 kB / 0.7665 GB, free: 8.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002456/0.1689, allocations: 319.8 kB / 0.7668 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1689, allocations: 12.06 kB / 0.7668 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.1689, allocations: 30.75 kB / 0.7668 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.937e-05/0.169, allocations: 4.938 kB / 0.7668 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.414e-05/0.169, allocations: 160.4 kB / 0.767 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1691, allocations: 384 / 0.767 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1691, allocations: 384 / 0.767 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.337e-05/0.1692, allocations: 34.25 kB / 0.767 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1692, allocations: 3.938 kB / 0.767 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.1692, allocations: 0 / 0.767 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1692, allocations: 4 kB / 0.767 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.36e-05/0.1692, allocations: 0 / 0.767 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.1694, allocations: 153.7 kB / 0.7672 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.496e-05/0.1694, allocations: 22.45 kB / 0.7672 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.1694, allocations: 8.922 kB / 0.7672 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.1694, allocations: 0 / 0.7672 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1695, allocations: 38.56 kB / 0.7672 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1695, allocations: 0 / 0.7672 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.1696, allocations: 41.56 kB / 0.7673 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.1696, allocations: 51.41 kB / 0.7673 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.892e-05/0.1697, allocations: 89.86 kB / 0.7674 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1697, allocations: 29.7 kB / 0.7674 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.1697, allocations: 80.14 kB / 0.7675 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1697, allocations: 3.906 kB / 0.7675 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.1698, allocations: 17.84 kB / 0.7675 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.1699, allocations: 310.8 kB / 0.7678 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.1699, allocations: 4 kB / 0.7678 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-06/0.1699, allocations: 0 / 0.7678 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.1699, allocations: 8.859 kB / 0.7678 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1699, allocations: 0 / 0.7678 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.705e-05/0.17, allocations: 37.62 kB / 0.7679 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.17, allocations: 4 kB / 0.7679 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.17, allocations: 8.031 kB / 0.7679 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.17, allocations: 0 / 0.7679 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.1701, allocations: 4 kB / 0.7679 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1701, allocations: 0 / 0.7679 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.1701, allocations: 4 kB / 0.7679 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1701, allocations: 0 / 0.7679 GB, free: 6.645 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.509e-05/0.1701, allocations: 110.5 kB / 0.768 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-06/0.1702, allocations: 3.938 kB / 0.768 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.1702, allocations: 11.05 kB / 0.768 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1702, allocations: 4 kB / 0.768 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1702, allocations: 0 / 0.768 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1702, allocations: 0 / 0.768 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.35e-05/0.1703, allocations: 141.7 kB / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1703, allocations: 0 / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.1703, allocations: 4 kB / 0.7682 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1703, allocations: 0 / 0.7682 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.1703, allocations: 3.938 kB / 0.7682 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1703, allocations: 3.938 kB / 0.7682 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1703, allocations: 7.984 kB / 0.7682 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.456e-05/0.1704, allocations: 65.08 kB / 0.7682 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.1704, allocations: 81.09 kB / 0.7683 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-06/0.1704, allocations: 3.938 kB / 0.7683 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-06/0.1704, allocations: 0 / 0.7683 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.1705, allocations: 0 / 0.7683 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1705, allocations: 7.984 kB / 0.7683 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.159e-05/0.1705, allocations: 75.28 kB / 0.7684 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1705, allocations: 32 / 0.7684 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001625/0.1707, allocations: 4 kB / 0.7684 GB, free: 6.035 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002711/0.1709, allocations: 0.5851 MB / 0.769 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.003e-05/0.171, allocations: 15.92 kB / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.171, allocations: 96 / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.171, allocations: 4 kB / 0.769 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1712, allocations: 6.344 kB / 0.769 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.1714, allocations: 106.7 kB / 0.7691 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1716, allocations: 0.6728 MB / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.013e-05/0.1716, allocations: 0 / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.1717, allocations: 7.438 kB / 0.7698 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1717, allocations: 0 / 0.7698 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1893, allocations: 0.8963 MB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/6.985, allocations: 7.594 kB / 0.7706 GB, free: 3.727 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)