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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9079/0.9079, allocations: 143.3 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 181 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 92.31 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 268.7 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.00045, allocations: 13.44 kB / 0.6929 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.191, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.355, allocations: 107.9 MB / 0.8791 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.3554, allocations: 67.97 kB / 0.8792 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005445/0.3559, allocations: 368.8 kB / 0.8796 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3559, allocations: 0 / 0.8796 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.356, allocations: 4 kB / 0.8796 GB, free: 1.289 MB / 0.5417 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.0002843/0.3563, allocations: 327.3 kB / 0.8799 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3563, allocations: 8.031 kB / 0.8799 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.3564, allocations: 30.56 kB / 0.8799 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.3564, allocations: 0 / 0.8799 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3565, allocations: 163.1 kB / 0.8801 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3565, allocations: 3.953 kB / 0.8801 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.3565, allocations: 0 / 0.8801 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3567, allocations: 29.7 kB / 0.8801 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3567, allocations: 0 / 0.8801 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3567, allocations: 3.984 kB / 0.8801 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3567, allocations: 4 kB / 0.8801 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.3567, allocations: 0 / 0.8801 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.3569, allocations: 150 kB / 0.8802 GB, free: 444 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.357, allocations: 26.5 kB / 0.8803 GB, free: 408 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.357, allocations: 0 / 0.8803 GB, free: 408 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.357, allocations: 34.56 kB / 0.8803 GB, free: 364 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.357, allocations: 0 / 0.8803 GB, free: 364 kB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.3572, allocations: 29.77 kB / 0.8803 GB, free: 328 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3572, allocations: 55.34 kB / 0.8804 GB, free: 260 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.3573, allocations: 89 kB / 0.8805 GB, free: 164 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3573, allocations: 25.7 kB / 0.8805 GB, free: 132 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.3573, allocations: 84.14 kB / 0.8806 GB, free: 44 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.3574, allocations: 7.922 kB / 0.8806 GB, free: 36 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/0.3574, allocations: 4.125 kB / 0.8806 GB, free: 32 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.3891/0.7465, allocations: 310.8 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.7465, allocations: 0 / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.7466, allocations: 2.516 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.7466, allocations: 1.562 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7466, allocations: 0 / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.86e-05/0.7467, allocations: 32.3 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.7467, allocations: 7.328 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7468, allocations: 0.9062 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7468, allocations: 0.7188 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.7469, allocations: 5.906 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.7469, allocations: 1.406 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.7469, allocations: 0.5625 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.7469, allocations: 0.5625 kB / 0.8809 GB, free: 109.1 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.747, allocations: 110.6 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.747, allocations: 5.281 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.747, allocations: 5.391 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7471, allocations: 4.094 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7471, allocations: 0.9688 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7471, allocations: 3.406 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.324e-05/0.7472, allocations: 147.2 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7472, allocations: 2.031 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.7472, allocations: 2.328 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7472, allocations: 0 / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.7472, allocations: 4.859 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7472, allocations: 0.9062 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7472, allocations: 3.531 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.589e-05/0.7473, allocations: 60.61 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.7473, allocations: 79.81 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.7473, allocations: 2.328 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.7474, allocations: 7.922 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.7474, allocations: 0.5625 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.7474, allocations: 2.719 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.735e-05/0.7474, allocations: 76.28 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.7474, allocations: 0 / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002189/0.7476, allocations: 0.9688 kB / 0.8814 GB, free: 108.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/0.7479, allocations: 0.5964 MB / 0.882 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.075e-05/0.7479, allocations: 2.344 kB / 0.882 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.748, allocations: 5.031 kB / 0.882 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.748, allocations: 2.562 kB / 0.882 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.7481, allocations: 9.594 kB / 0.882 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.7484, allocations: 100 kB / 0.8821 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.7485, allocations: 0.6778 MB / 0.8828 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.466e-05/0.7486, allocations: 1.094 kB / 0.8828 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.7486, allocations: 7.953 kB / 0.8828 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.7486, allocations: 0 / 0.8828 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.7588, allocations: 0.7144 MB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.759, allocations: 183.3 kB / 0.8837 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/2.224, allocations: 0 / 0.8837 GB, free: 106.7 MB / 0.5417 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/linux/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)