Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.6636/0.6636, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 179.9 kB / 187.3 MB, free: 11.89 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.187/1.187, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008422/0.0008421, allocations: 92.39 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0016/0.0016, allocations: 272.2 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.715e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.09506/0.4087, allocations: 107.7 MB / 0.8696 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.4089, allocations: 65.94 kB / 0.8696 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008743/0.4098, allocations: 0.4894 MB / 0.8701 GB, free: 260 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4098, allocations: 0 / 0.8701 GB, free: 260 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.4098, allocations: 0 / 0.8701 GB, free: 260 kB / 0.5261 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.000195/0.41, allocations: 321.3 kB / 0.8704 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.41, allocations: 12.03 kB / 0.8704 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.4101, allocations: 30.56 kB / 0.8705 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.786e-05/0.4101, allocations: 0 / 0.8705 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4103, allocations: 183 kB / 0.8706 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.4103, allocations: 3.953 kB / 0.8706 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.4103, allocations: 3.938 kB / 0.8706 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.102e-05/0.4104, allocations: 29.7 kB / 0.8707 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.4104, allocations: 3.984 kB / 0.8707 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.4104, allocations: 0 / 0.8707 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.4104, allocations: 0 / 0.8707 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.4104, allocations: 7.938 kB / 0.8707 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.4106, allocations: 161.6 kB / 0.8708 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.4106, allocations: 22.53 kB / 0.8709 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.4106, allocations: 8.922 kB / 0.8709 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.4106, allocations: 0 / 0.8709 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4107, allocations: 30.56 kB / 0.8709 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.4107, allocations: 0 / 0.8709 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 9.969e-05/0.4108, allocations: 45.62 kB / 0.8709 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.4108, allocations: 55.44 kB / 0.871 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.4109, allocations: 101 kB / 0.8711 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4109, allocations: 25.7 kB / 0.8711 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.4109, allocations: 84.14 kB / 0.8712 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.411, allocations: 0 / 0.8712 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.411, allocations: 0 / 0.8712 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.411, allocations: 318.8 kB / 0.8715 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.4111, allocations: 4 kB / 0.8715 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.4111, allocations: 17.72 kB / 0.8715 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.776e-05/0.4111, allocations: 7.984 kB / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4111, allocations: 0 / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.922e-05/0.4112, allocations: 57.48 kB / 0.8716 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4112, allocations: 9.406 kB / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4112, allocations: 3.938 kB / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.4112, allocations: 0 / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.4113, allocations: 8.125 kB / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4113, allocations: 0 / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.4113, allocations: 0 / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.4113, allocations: 4 kB / 0.8716 GB, free: 14.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.493e-05/0.4114, allocations: 104.9 kB / 0.8717 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.4114, allocations: 3.953 kB / 0.8717 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.564e-05/0.4115, allocations: 56.73 kB / 0.8718 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4115, allocations: 0 / 0.8718 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4115, allocations: 0 / 0.8718 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.4115, allocations: 4.031 kB / 0.8718 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.562e-05/0.4116, allocations: 153.7 kB / 0.8719 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4116, allocations: 4.25 kB / 0.8719 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.4117, allocations: 4 kB / 0.8719 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4117, allocations: 0 / 0.8719 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4117, allocations: 11.89 kB / 0.8719 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4117, allocations: 2.109 kB / 0.8719 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4117, allocations: 3.984 kB / 0.8719 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.4118, allocations: 77.06 kB / 0.872 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.4118, allocations: 85.05 kB / 0.8721 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.4119, allocations: 0 / 0.8721 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.4119, allocations: 7.938 kB / 0.8721 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.4119, allocations: 0 / 0.8721 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.4119, allocations: 0 / 0.8721 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.412, allocations: 87.28 kB / 0.8722 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.412, allocations: 0 / 0.8722 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001684/0.4121, allocations: 4 kB / 0.8722 GB, free: 13.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002899/0.4124, allocations: 0.6165 MB / 0.8728 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.545e-05/0.4125, allocations: 11.98 kB / 0.8728 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4125, allocations: 0 / 0.8728 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.4125, allocations: 8.219 kB / 0.8728 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.085e-05/0.4126, allocations: 12.02 kB / 0.8728 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.4129, allocations: 120.7 kB / 0.8729 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.4131, allocations: 0.6809 MB / 0.8736 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.4131, allocations: 4 kB / 0.8736 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.4131, allocations: 7.438 kB / 0.8736 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.4131, allocations: 0 / 0.8736 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009747/0.4229, allocations: 0.9868 MB / 0.8746 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.4231, allocations: 155.3 kB / 0.8747 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.364/1.787, allocations: 8 kB / 0.8747 GB, free: 11.18 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)