Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.001279/0.001279, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00146/0.00146, allocations: 217.8 kB / 22.26 MB, free: 5.125 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.973 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.002452/0.002452, allocations: 297 kB / 312.7 MB, free: 2.785 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.181/1.181, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",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.002831/0.002831, allocations: 103.6 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1868, allocations: 95.39 MB / 0.8327 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.6146/0.8014, allocations: 166.8 MB / 0.9956 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00526/0.8067, allocations: 4.642 MB / 1 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.8072, allocations: 14.75 kB / 1 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.8076, allocations: 131 kB / 1 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.809, allocations: 0.5701 MB / 1.001 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.8113, allocations: 0.8239 MB / 1.002 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008623/0.8121, allocations: 0.587 MB / 1.002 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.8125, allocations: 170.7 kB / 1.002 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.8138, allocations: 485.2 kB / 1.003 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007747/0.8146, allocations: 316.2 kB / 1.003 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.8146, allocations: 21.38 kB / 1.003 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.8174, allocations: 1.11 MB / 1.004 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.8176, allocations: 95.94 kB / 1.004 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.8179, allocations: 120.8 kB / 1.004 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.8198, allocations: 0.7215 MB / 1.005 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8198, allocations: 0.9688 kB / 1.005 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8198, allocations: 2.5 kB / 1.005 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8198, allocations: 1.031 kB / 1.005 GB, free: 3.344 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001279/0.8211, allocations: 0.5289 MB / 1.006 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.8211, allocations: 12.28 kB / 1.006 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.115e-05/0.8212, allocations: 57.27 kB / 1.006 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007404/0.822, allocations: 79.09 kB / 1.006 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.8224, allocations: 235.3 kB / 1.006 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.8225, allocations: 18.91 kB / 1.006 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.8225, allocations: 21.03 kB / 1.006 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.8231, allocations: 285.5 kB / 1.006 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.8231, allocations: 4.375 kB / 1.006 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.8231, allocations: 11.38 kB / 1.006 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.8231, allocations: 6.219 kB / 1.006 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.8236, allocations: 213.6 kB / 1.007 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.8254, allocations: 1.2 MB / 1.008 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.8257, allocations: 175.3 kB / 1.008 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.8259, allocations: 109.3 kB / 1.008 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006969/0.8266, allocations: 100.5 kB / 1.008 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.8266, allocations: 49.48 kB / 1.008 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.8266, allocations: 1.203 kB / 1.008 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007806/0.8274, allocations: 280.2 kB / 1.008 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.8275, allocations: 160.7 kB / 1.009 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.8278, allocations: 285.2 kB / 1.009 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.8278, allocations: 31.7 kB / 1.009 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.8279, allocations: 143.3 kB / 1.009 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.828, allocations: 57.52 kB / 1.009 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.828, allocations: 39.25 kB / 1.009 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8282, allocations: 341.4 kB / 1.009 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.8284, allocations: 68.69 kB / 1.01 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.8285, allocations: 145.6 kB / 1.01 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.8289, allocations: 209.2 kB / 1.01 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8289, allocations: 2.312 kB / 1.01 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004695/0.8293, allocations: 246.6 kB / 1.01 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.8294, allocations: 9.812 kB / 1.01 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8294, allocations: 2.594 kB / 1.01 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8294, allocations: 2.375 kB / 1.01 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.8296, allocations: 38.58 kB / 1.01 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.8296, allocations: 2.781 kB / 1.01 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.8298, allocations: 30.95 kB / 1.01 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.8298, allocations: 16.98 kB / 1.01 GB, free: 16.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001451/0.83, allocations: 149.1 kB / 1.01 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.8301, allocations: 35.86 kB / 1.01 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.8305, allocations: 192.2 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8305, allocations: 2.312 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8305, allocations: 3.406 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8305, allocations: 3.812 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.8315, allocations: 0.8266 MB / 1.011 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8315, allocations: 1.094 kB / 1.011 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.8317, allocations: 23.31 kB / 1.011 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8317, allocations: 3.062 kB / 1.011 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8317, allocations: 7.406 kB / 1.011 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8317, allocations: 3.953 kB / 1.011 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8317, allocations: 4.469 kB / 1.011 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.8322, allocations: 338 kB / 1.012 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.8323, allocations: 35.52 kB / 1.012 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.8323, allocations: 11.34 kB / 1.012 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.8324, allocations: 10.19 kB / 1.012 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.8325, allocations: 10.83 kB / 1.012 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.8325, allocations: 7.562 kB / 1.012 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002091/0.8327, allocations: 239.3 kB / 1.012 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8327, allocations: 2.062 kB / 1.012 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005015/0.8332, allocations: 99.14 kB / 1.012 GB, free: 15.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001099/0.8343, allocations: 0.964 MB / 1.013 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.8347, allocations: 149.2 kB / 1.013 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8347, allocations: 0 / 1.013 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.8348, allocations: 58.06 kB / 1.013 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.8355, allocations: 144.8 kB / 1.013 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.8387, allocations: 2.781 MB / 1.016 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.8391, allocations: 0.7603 MB / 1.017 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.8392, allocations: 66.61 kB / 1.017 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.8393, allocations: 74.75 kB / 1.017 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.8394, allocations: 0 / 1.017 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.8759, allocations: 8.797 MB / 1.026 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.7, allocations: 11.92 kB / 1.026 GB, free: 11.76 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.739863099996] Failed to read output from testmodel.py, exit status != 0: 11.81391632789746 11.826053865 11.00372563 Calling exit ...