Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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.6942/0.6942, 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.0009138/0.0009138, allocations: 194.4 kB / 187.3 MB, free: 11.87 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.188/1.188, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.000856/0.000856, allocations: 93.06 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001653/0.001653, allocations: 267.7 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.911e-05, allocations: 8 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3282, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.09643/0.4246, allocations: 107.7 MB / 0.8695 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001447/0.4248, allocations: 71.91 kB / 0.8696 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004551/0.4253, allocations: 414.4 kB / 0.87 GB, free: 352 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4253, allocations: 0 / 0.87 GB, free: 352 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.4253, allocations: 0 / 0.87 GB, free: 352 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001328/0.4254, allocations: 306.6 kB / 0.8703 GB, free: 0 / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.4255, allocations: 8.078 kB / 0.8703 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.4255, allocations: 34.56 kB / 0.8703 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.4256, allocations: 0 / 0.8703 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.4257, allocations: 162.1 kB / 0.8705 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4257, allocations: 7.953 kB / 0.8705 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.4257, allocations: 3.938 kB / 0.8705 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.238e-05/0.4258, allocations: 43.36 kB / 0.8706 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.4258, allocations: 0 / 0.8706 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.4258, allocations: 0 / 0.8706 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4258, allocations: 4 kB / 0.8706 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.4258, allocations: 4 kB / 0.8706 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.426, allocations: 154.5 kB / 0.8707 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.224e-05/0.426, allocations: 45.16 kB / 0.8708 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.426, allocations: 13.84 kB / 0.8708 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.4261, allocations: 4 kB / 0.8708 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.4261, allocations: 38.44 kB / 0.8708 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4261, allocations: 0 / 0.8708 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001031/0.4262, allocations: 37.7 kB / 0.8708 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.4262, allocations: 77.11 kB / 0.8709 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.782e-05/0.4263, allocations: 89 kB / 0.871 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4263, allocations: 33.62 kB / 0.871 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.4263, allocations: 88.19 kB / 0.8711 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.4264, allocations: 7.844 kB / 0.8711 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.4264, allocations: 0 / 0.8711 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.4265, allocations: 314.8 kB / 0.8714 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.4265, allocations: 4 kB / 0.8714 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.4265, allocations: 9.719 kB / 0.8714 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.4265, allocations: 8.062 kB / 0.8714 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4265, allocations: 0 / 0.8714 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.03e-05/0.4266, allocations: 41.62 kB / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4266, allocations: 17.3 kB / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4266, allocations: 0 / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.4267, allocations: 0 / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.4267, allocations: 4 kB / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4267, allocations: 0 / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.4267, allocations: 0 / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4267, allocations: 0 / 0.8715 GB, free: 14.57 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.848e-05/0.4268, allocations: 113 kB / 0.8716 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.4268, allocations: 0 / 0.8716 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.4269, allocations: 52.7 kB / 0.8717 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4269, allocations: 0 / 0.8717 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4269, allocations: 7.984 kB / 0.8717 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4269, allocations: 0 / 0.8717 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.034e-05/0.427, allocations: 141.7 kB / 0.8718 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.427, allocations: 8.062 kB / 0.8718 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.427, allocations: 0 / 0.8718 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4271, allocations: 4 kB / 0.8718 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.4271, allocations: 3.984 kB / 0.8718 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4271, allocations: 3.953 kB / 0.8718 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4271, allocations: 0 / 0.8718 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.311e-05/0.4272, allocations: 79.66 kB / 0.8719 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.4272, allocations: 93 kB / 0.872 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.4272, allocations: 7.953 kB / 0.872 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.4272, allocations: 0 / 0.872 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.4272, allocations: 0 / 0.872 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.4273, allocations: 4 kB / 0.872 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.542e-05/0.4273, allocations: 75.28 kB / 0.8721 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4273, allocations: 3.938 kB / 0.8721 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001715/0.4275, allocations: 4 kB / 0.8721 GB, free: 13.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003326/0.4278, allocations: 0.6935 MB / 0.8728 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/0.4279, allocations: 4 kB / 0.8728 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.4279, allocations: 4.156 kB / 0.8728 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.4279, allocations: 7.938 kB / 0.8728 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.036e-05/0.428, allocations: 4 kB / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.4282, allocations: 91.62 kB / 0.8729 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.4284, allocations: 0.677 MB / 0.8735 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.4285, allocations: 4 kB / 0.8735 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.4285, allocations: 11.56 kB / 0.8735 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.4285, allocations: 0 / 0.8735 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009592/0.4381, allocations: 0.7394 MB / 0.8743 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.4383, allocations: 156.4 kB / 0.8744 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.294/1.732, allocations: 0 / 0.8744 GB, free: 11.45 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)