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.001311/0.001311, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001527/0.001527, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.351/1.351, allocations: 230.6 MB / 256 MB, free: 7.801 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.002446/0.002446, allocations: 291.9 kB / 312.7 MB, free: 2.621 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.146/1.146, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.002852/0.002852, allocations: 102.1 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1666, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1797/0.3464, allocations: 143.9 MB / 0.9732 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006237/0.3526, allocations: 4.218 MB / 0.9773 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.353, allocations: 15.88 kB / 0.9773 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.3535, allocations: 135 kB / 0.9774 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3551, allocations: 0.5601 MB / 0.978 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.357, allocations: 0.7998 MB / 0.9788 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007665/0.3577, allocations: 0.5768 MB / 0.9793 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.3581, allocations: 169.4 kB / 0.9795 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3591, allocations: 478.3 kB / 0.98 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.3597, allocations: 306.7 kB / 0.9802 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.3597, allocations: 16 kB / 0.9803 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4041/0.7638, allocations: 0.8508 MB / 0.9811 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.7641, allocations: 91.94 kB / 0.9812 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.7644, allocations: 103.6 kB / 0.9813 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.7665, allocations: 0.6844 MB / 0.9819 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7665, allocations: 0.7031 kB / 0.9819 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7665, allocations: 1.125 kB / 0.9819 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7665, allocations: 0 / 0.9819 GB, free: 4.773 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.001568/0.7681, allocations: 0.5298 MB / 0.9825 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.7681, allocations: 11.78 kB / 0.9825 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.854e-05/0.7682, allocations: 53.39 kB / 0.9825 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/0.769, allocations: 78.34 kB / 0.9826 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.7696, allocations: 240.6 kB / 0.9828 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.7696, allocations: 13.78 kB / 0.9828 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.7697, allocations: 21.03 kB / 0.9829 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.7703, allocations: 282.7 kB / 0.9831 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.7703, allocations: 8.656 kB / 0.9831 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.7703, allocations: 8.625 kB / 0.9831 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.7703, allocations: 4.469 kB / 0.9832 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.7708, allocations: 207.3 kB / 0.9834 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.7728, allocations: 1.165 MB / 0.9845 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.7731, allocations: 171.7 kB / 0.9847 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.7733, allocations: 110.5 kB / 0.9848 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.7739, allocations: 105.9 kB / 0.9849 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.774, allocations: 43.19 kB / 0.9849 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.774, allocations: 0 / 0.9849 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000787/0.7748, allocations: 276.3 kB / 0.9852 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.7749, allocations: 161.8 kB / 0.9853 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.7752, allocations: 290.5 kB / 0.9856 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.7752, allocations: 30.83 kB / 0.9856 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.7754, allocations: 154.8 kB / 0.9858 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.7754, allocations: 49.94 kB / 0.9858 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.7755, allocations: 39.88 kB / 0.9859 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7756, allocations: 338.3 kB / 0.9862 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.7758, allocations: 66.12 kB / 0.9862 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.7761, allocations: 247.4 kB / 0.9865 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.7765, allocations: 212.3 kB / 0.9867 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7765, allocations: 1.906 kB / 0.9867 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006465/0.7771, allocations: 246.5 kB / 0.9869 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7772, allocations: 5.688 kB / 0.9869 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7772, allocations: 4.109 kB / 0.9869 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.7772, allocations: 4.266 kB / 0.9869 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.7774, allocations: 42.09 kB / 0.987 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.7774, allocations: 7.75 kB / 0.987 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.7777, allocations: 38.27 kB / 0.987 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.7777, allocations: 10.94 kB / 0.987 GB, free: 17.93 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.0001818/0.7779, allocations: 146.8 kB / 0.9872 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.778, allocations: 32.09 kB / 0.9872 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.7786, allocations: 184.5 kB / 0.9874 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7786, allocations: 3.656 kB / 0.9874 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7786, allocations: 5.438 kB / 0.9874 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7786, allocations: 3.266 kB / 0.9874 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.7797, allocations: 0.8042 MB / 0.9882 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7797, allocations: 3.312 kB / 0.9882 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.7798, allocations: 24.59 kB / 0.9882 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.7798, allocations: 2.875 kB / 0.9882 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.7799, allocations: 6.906 kB / 0.9882 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7799, allocations: 3.25 kB / 0.9882 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7799, allocations: 2.969 kB / 0.9882 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.7806, allocations: 340.6 kB / 0.9885 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.7807, allocations: 35.81 kB / 0.9886 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.7807, allocations: 7.828 kB / 0.9886 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.7809, allocations: 8.297 kB / 0.9886 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.7809, allocations: 13.25 kB / 0.9886 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.7809, allocations: 4.031 kB / 0.9886 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002671/0.7812, allocations: 236.8 kB / 0.9888 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7812, allocations: 0 / 0.9888 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005528/0.7818, allocations: 103.4 kB / 0.9889 GB, free: 16.83 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.001274/0.783, allocations: 0.9711 MB / 0.9899 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.7834, allocations: 152.6 kB / 0.99 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7834, allocations: 0.875 kB / 0.99 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.7836, allocations: 63.56 kB / 0.9901 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.7843, allocations: 138.6 kB / 0.9902 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.7879, allocations: 2.78 MB / 0.9929 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.7881, allocations: 148.6 kB / 0.9931 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002132/0.7883, allocations: 65.19 kB / 0.9931 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.7884, allocations: 80.28 kB / 0.9932 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.7884, allocations: 0.9688 kB / 0.9932 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04407/0.8325, allocations: 9.664 MB / 1.003 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.67, allocations: 6.922 kB / 1.003 GB, free: 13.29 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.564495014026761] Failed to read output from testmodel.py, exit status != 0: 11.770360948052257 11.780976107 11.012180271 Calling exit ...