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.0009443/0.0009443, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006688/0.006688, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.298/1.298, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 267 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9738/0.9738, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.00041, allocations: 15.52 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 88.54 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.0006421/0.148, allocations: 318.4 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.545e-05/0.148, allocations: 7.984 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.1481, allocations: 6.312 kB / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1481, allocations: 0 / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.1481, allocations: 0 / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.729e-05/0.1481, allocations: 0 / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.563e-05/0.1482, allocations: 0 / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1482, allocations: 3.938 kB / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.1482, allocations: 2.969 kB / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.592e-05/0.1483, allocations: 7.938 kB / 0.6856 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.1483, allocations: 3.938 kB / 0.6856 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.915e-06/0.1483, allocations: 0 / 0.6856 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1483, allocations: 0 / 0.6856 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.1483, allocations: 25.7 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.024e-05/0.1484, allocations: 0 / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1484, allocations: 0 / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1484, allocations: 0 / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1484, allocations: 1.438 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB 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.000217/0.1486, allocations: 315.6 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1487, allocations: 8.656 kB / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.1487, allocations: 30.75 kB / 0.6859 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.818e-05/0.1487, allocations: 1.656 kB / 0.6859 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.1488, allocations: 164.7 kB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.1488, allocations: 2.656 kB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.1488, allocations: 4.375 kB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.213e-05/0.1489, allocations: 30.25 kB / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1489, allocations: 3.938 kB / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.1489, allocations: 0 / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1489, allocations: 0.5 kB / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.149, allocations: 8.531 kB / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.1491, allocations: 154.4 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.733e-05/0.1491, allocations: 15.52 kB / 0.6863 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.1492, allocations: 9.609 kB / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.1492, allocations: 0 / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1492, allocations: 38.58 kB / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1492, allocations: 0 / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001172/0.1493, allocations: 45.58 kB / 0.6864 GB, free: 13.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1494, allocations: 51.41 kB / 0.6864 GB, free: 13.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.754e-05/0.1494, allocations: 89.86 kB / 0.6865 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.1494, allocations: 25.7 kB / 0.6865 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.1494, allocations: 80.14 kB / 0.6866 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1495, allocations: 4.562 kB / 0.6866 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.1495, allocations: 9.719 kB / 0.6866 GB, free: 13.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.1496, allocations: 311.5 kB / 0.6869 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.1496, allocations: 4.719 kB / 0.6869 GB, free: 13.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.1496, allocations: 4.5 kB / 0.6869 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.278e-05/0.1496, allocations: 11.3 kB / 0.6869 GB, free: 13.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1496, allocations: 0 / 0.6869 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.108e-05/0.1497, allocations: 37.62 kB / 0.687 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1497, allocations: 6.188 kB / 0.687 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1497, allocations: 3.938 kB / 0.687 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.1497, allocations: 224 / 0.687 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.1498, allocations: 11.94 kB / 0.687 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1498, allocations: 0 / 0.687 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-06/0.1498, allocations: 0 / 0.687 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.1498, allocations: 0 / 0.687 GB, free: 12.97 MB / 494.1 MB 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.955e-05/0.1499, allocations: 110.5 kB / 0.6871 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.1499, allocations: 4 kB / 0.6871 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.1499, allocations: 11.05 kB / 0.6871 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1499, allocations: 0 / 0.6871 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1499, allocations: 0 / 0.6871 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1499, allocations: 4 kB / 0.6871 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.24e-05/0.15, allocations: 141.7 kB / 0.6873 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.15, allocations: 0 / 0.6873 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.15, allocations: 4 kB / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.15, allocations: 0 / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1501, allocations: 7.875 kB / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1501, allocations: 0 / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1501, allocations: 7.922 kB / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.052e-05/0.1501, allocations: 65.05 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1502, allocations: 77.11 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1502, allocations: 3.938 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.1502, allocations: 0 / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.1502, allocations: 0 / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1502, allocations: 8 kB / 0.6874 GB, free: 12.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.1503, allocations: 79.27 kB / 0.6875 GB, free: 12.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1503, allocations: 0 / 0.6875 GB, free: 12.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000163/0.1504, allocations: 0 / 0.6875 GB, free: 12.36 MB / 494.1 MB 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.0002956/0.1507, allocations: 0.5944 MB / 0.6881 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.138e-05/0.1508, allocations: 4 kB / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1508, allocations: 0 / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.1508, allocations: 3.984 kB / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1509, allocations: 16.14 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.1512, allocations: 96.42 kB / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1514, allocations: 0.6692 MB / 0.6888 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.3e-05/0.1514, allocations: 4 kB / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.1515, allocations: 7.438 kB / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1515, allocations: 3.938 kB / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009699/0.1612, allocations: 0.7138 MB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.1614, allocations: 194.7 kB / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/1.718, allocations: 8.062 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB (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)