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.9165/0.9165, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001507/0.001507, allocations: 187.8 kB / 182.2 MB, free: 9.457 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.531/1.531, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.001068/0.001068, allocations: 96.03 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 271.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.399e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4664, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.6141, allocations: 107 MB / 0.862 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.6145, allocations: 70.72 kB / 0.8621 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008116/0.6153, allocations: 414.4 kB / 0.8624 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6153, allocations: 3.938 kB / 0.8625 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6153, allocations: 0 / 0.8625 GB, free: 4.266 MB / 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.000268/0.6156, allocations: 310.6 kB / 0.8627 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6157, allocations: 8.031 kB / 0.8628 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.6157, allocations: 8 kB / 0.8628 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.6158, allocations: 167.1 kB / 0.8629 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6158, allocations: 3.953 kB / 0.8629 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.6159, allocations: 0 / 0.8629 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.365e-05/0.6159, allocations: 3.938 kB / 0.8629 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.982e-05/0.616, allocations: 43.41 kB / 0.863 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.616, allocations: 0 / 0.863 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.616, allocations: 0 / 0.863 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.6161, allocations: 8 kB / 0.863 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.6162, allocations: 131.1 kB / 0.8631 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.6163, allocations: 37.22 kB / 0.8631 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.6163, allocations: 9.719 kB / 0.8631 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.6163, allocations: 0 / 0.8631 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.6164, allocations: 46.56 kB / 0.8632 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.6164, allocations: 0 / 0.8632 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.6166, allocations: 37.64 kB / 0.8632 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.6166, allocations: 81.11 kB / 0.8633 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.502e-05/0.6166, allocations: 85 kB / 0.8634 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.6167, allocations: 25.7 kB / 0.8634 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.6167, allocations: 80.14 kB / 0.8635 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.6167, allocations: 11.91 kB / 0.8635 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.6168, allocations: 0 / 0.8635 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6169, allocations: 314.8 kB / 0.8638 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.617, allocations: 4 kB / 0.8638 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.617, allocations: 13.72 kB / 0.8638 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.617, allocations: 4 kB / 0.8638 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.617, allocations: 0 / 0.8638 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.862e-05/0.6171, allocations: 41.7 kB / 0.8639 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6171, allocations: 4 kB / 0.8639 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6171, allocations: 3.984 kB / 0.8639 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6172, allocations: 7.953 kB / 0.8639 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.6172, allocations: 0 / 0.8639 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6172, allocations: 7.938 kB / 0.8639 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.6173, allocations: 0 / 0.8639 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.6173, allocations: 3.938 kB / 0.8639 GB, free: 2.562 MB / 0.5261 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 6.977e-05/0.6174, allocations: 101 kB / 0.864 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.004e-05/0.6174, allocations: 53.62 kB / 0.864 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.6175, allocations: 3.953 kB / 0.864 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.6176, allocations: 45.38 kB / 0.8641 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6176, allocations: 0 / 0.8641 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6176, allocations: 0 / 0.8641 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6176, allocations: 0 / 0.8641 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.865e-05/0.6177, allocations: 126.2 kB / 0.8642 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6177, allocations: 4.125 kB / 0.8642 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.6177, allocations: 4 kB / 0.8642 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6178, allocations: 0 / 0.8642 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.6178, allocations: 3.984 kB / 0.8642 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6178, allocations: 3.953 kB / 0.8642 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6178, allocations: 4 kB / 0.8642 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.725e-05/0.6179, allocations: 83.62 kB / 0.8643 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.6179, allocations: 77.11 kB / 0.8644 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.618, allocations: 7.938 kB / 0.8644 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.626e-05/0.618, allocations: 7.938 kB / 0.8644 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.618, allocations: 4 kB / 0.8644 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.618, allocations: 0 / 0.8644 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.618, allocations: 75.28 kB / 0.8645 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6181, allocations: 0 / 0.8645 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001874/0.6182, allocations: 8 kB / 0.8645 GB, free: 1.859 MB / 0.5261 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.0004208/0.6187, allocations: 0.6838 MB / 0.8651 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.6188, allocations: 11.94 kB / 0.8652 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6188, allocations: 4.156 kB / 0.8652 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-06/0.6188, allocations: 4 kB / 0.8652 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.6189, allocations: 0 / 0.8652 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.6192, allocations: 90.39 kB / 0.8652 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.6195, allocations: 0.6768 MB / 0.8659 GB, free: 296 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.141e-05/0.6195, allocations: 0 / 0.8659 GB, free: 296 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.6195, allocations: 11.38 kB / 0.8659 GB, free: 284 kB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6195, allocations: 4.125 kB / 0.8659 GB, free: 280 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.6373, allocations: 458.2 kB / 0.8664 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.6376, allocations: 142.3 kB / 0.8665 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.155, allocations: 0 / 0.8665 GB, free: 15.64 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)