Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002567/0.002567, allocations: 288.1 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 99.2 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1669, allocations: 95.4 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002598/0.1695, allocations: 1.27 MB / 0.8339 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.1736, allocations: 2.777 MB / 0.8366 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.1736, allocations: 0 / 0.8366 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.1736, allocations: 3.938 kB / 0.8366 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.1737, allocations: 3.984 kB / 0.8366 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1742, allocations: 103.5 kB / 0.8367 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.1743, allocations: 35.86 kB / 0.8367 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.1743, allocations: 7.984 kB / 0.8367 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.1749, allocations: 179.8 kB / 0.8369 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.1749, allocations: 19.91 kB / 0.8369 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1749, allocations: 4 kB / 0.8369 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1751, allocations: 47.89 kB / 0.837 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1751, allocations: 8 kB / 0.837 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1751, allocations: 19.84 kB / 0.837 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1753, allocations: 67.75 kB / 0.8371 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1753, allocations: 0 / 0.8371 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1753, allocations: 0 / 0.8371 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1753, allocations: 4 kB / 0.8371 GB, free: 3.746 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003894/0.1757, allocations: 266.3 kB / 0.8373 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1757, allocations: 9.938 kB / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.1758, allocations: 38.73 kB / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1758, allocations: 0.9375 kB / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.1759, allocations: 114.5 kB / 0.8375 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1759, allocations: 384 / 0.8375 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1759, allocations: 4.375 kB / 0.8375 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1761, allocations: 138.7 kB / 0.8376 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1761, allocations: 0 / 0.8376 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1761, allocations: 8 kB / 0.8376 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1761, allocations: 0 / 0.8376 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.1762, allocations: 15.98 kB / 0.8376 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1764, allocations: 140.7 kB / 0.8378 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.1764, allocations: 46.55 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.1765, allocations: 20.84 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005377/0.177, allocations: 249.7 kB / 0.8381 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.177, allocations: 30.56 kB / 0.8381 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.177, allocations: 0 / 0.8381 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005499/0.1776, allocations: 241.4 kB / 0.8383 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1776, allocations: 51.41 kB / 0.8384 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.1777, allocations: 105.8 kB / 0.8385 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1777, allocations: 25.7 kB / 0.8385 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.1778, allocations: 92.09 kB / 0.8386 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1778, allocations: 27.73 kB / 0.8386 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1778, allocations: 21.72 kB / 0.8386 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.178, allocations: 322.8 kB / 0.8389 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.178, allocations: 12 kB / 0.839 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.1781, allocations: 53.08 kB / 0.839 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/0.1782, allocations: 77.08 kB / 0.8391 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1782, allocations: 0 / 0.8391 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001457/0.1783, allocations: 97.5 kB / 0.8392 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1783, allocations: 8 kB / 0.8392 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1783, allocations: 0 / 0.8392 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1783, allocations: 4.125 kB / 0.8392 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.1784, allocations: 24.42 kB / 0.8392 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1784, allocations: 3.938 kB / 0.8392 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.1785, allocations: 7.938 kB / 0.8392 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1785, allocations: 12 kB / 0.8392 GB, free: 1.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.169e-05/0.1786, allocations: 114.5 kB / 0.8393 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.1786, allocations: 0 / 0.8393 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.1786, allocations: 8.062 kB / 0.8393 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1786, allocations: 4 kB / 0.8393 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1786, allocations: 0 / 0.8393 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1786, allocations: 3.938 kB / 0.8394 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1789, allocations: 148.7 kB / 0.8395 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1789, allocations: 0 / 0.8395 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.1789, allocations: 15.94 kB / 0.8395 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1789, allocations: 4 kB / 0.8395 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1789, allocations: 0 / 0.8395 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.179, allocations: 3.984 kB / 0.8395 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.179, allocations: 0 / 0.8395 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1791, allocations: 179.4 kB / 0.8397 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.1792, allocations: 4.031 kB / 0.8397 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1792, allocations: 4 kB / 0.8397 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.1793, allocations: 4 kB / 0.8397 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.1793, allocations: 11.92 kB / 0.8397 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.1793, allocations: 4 kB / 0.8397 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.1793, allocations: 83.59 kB / 0.8398 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1793, allocations: 0 / 0.8398 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000234/0.1796, allocations: 16 kB / 0.8398 GB, free: 0.5703 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004999/0.1801, allocations: 0.7048 MB / 0.8405 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1802, allocations: 44.2 kB / 0.8405 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1802, allocations: 4 kB / 0.8405 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.1802, allocations: 19.92 kB / 0.8406 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1805, allocations: 11.94 kB / 0.8406 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1821, allocations: 1.532 MB / 0.8421 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.049e-05/0.1821, allocations: 63.34 kB / 0.8421 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.2e-05/0.1822, allocations: 19.81 kB / 0.8421 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.1822, allocations: 15.44 kB / 0.8422 GB, free: 14 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.1822, allocations: 0 / 0.8422 GB, free: 14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.2125, allocations: 2.222 MB / 0.8443 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.74, allocations: 7.625 kB / 0.8443 GB, free: 11.92 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.745602517388761] Failed to read output from testmodel.py, exit status != 0: 10.841446097008884 10.856730817 10.67843029 Calling exit ...