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.001176/0.001176, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001382/0.001382, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002429/0.002429, allocations: 280.5 kB / 313.5 MB, free: 2.828 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.179/1.179, allocations: 180.6 MB / 0.5377 GB, free: 13.08 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",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.004055/0.004055, allocations: 98 kB / 0.7404 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1828, allocations: 95.38 MB / 0.8335 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.6046/0.7874, allocations: 166.8 MB / 0.9964 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005259/0.7927, allocations: 4.647 MB / 1.001 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.7932, allocations: 15.41 kB / 1.001 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.7938, allocations: 130.8 kB / 1.001 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.7953, allocations: 0.5718 MB / 1.002 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.7975, allocations: 0.8204 MB / 1.002 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.7986, allocations: 0.5862 MB / 1.003 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.799, allocations: 168.1 kB / 1.003 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.8003, allocations: 484.7 kB / 1.004 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007185/0.801, allocations: 325.9 kB / 1.004 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.8011, allocations: 17.75 kB / 1.004 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.8033, allocations: 1.106 MB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.8035, allocations: 94.05 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.8037, allocations: 134.1 kB / 1.005 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.8053, allocations: 0.7151 MB / 1.006 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8053, allocations: 1.469 kB / 1.006 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8053, allocations: 0 / 1.006 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.8053, allocations: 0.6562 kB / 1.006 GB, free: 3.328 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.001264/0.8066, allocations: 0.5268 MB / 1.006 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.8066, allocations: 10.78 kB / 1.006 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.632e-05/0.8066, allocations: 5.656 kB / 1.006 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.8067, allocations: 53.19 kB / 1.007 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007246/0.8074, allocations: 80.33 kB / 1.007 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.8079, allocations: 240.9 kB / 1.007 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.8079, allocations: 12.94 kB / 1.007 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.808, allocations: 21.48 kB / 1.007 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.8085, allocations: 292.8 kB / 1.007 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.8086, allocations: 1.719 kB / 1.007 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.8086, allocations: 5.875 kB / 1.007 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.8086, allocations: 9.625 kB / 1.007 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.8091, allocations: 209.1 kB / 1.007 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.8109, allocations: 1.208 MB / 1.009 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.8112, allocations: 168 kB / 1.009 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.8114, allocations: 108.8 kB / 1.009 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.8121, allocations: 103.9 kB / 1.009 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.8121, allocations: 44.88 kB / 1.009 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.265e-06/0.8121, allocations: 1.656 kB / 1.009 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008371/0.813, allocations: 287.3 kB / 1.009 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.8131, allocations: 160.2 kB / 1.009 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.8134, allocations: 285.6 kB / 1.01 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.8134, allocations: 30.23 kB / 1.01 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.8136, allocations: 145.8 kB / 1.01 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.8136, allocations: 54.14 kB / 1.01 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.8137, allocations: 42.33 kB / 1.01 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8138, allocations: 341.5 kB / 1.01 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.814, allocations: 68.73 kB / 1.01 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.8142, allocations: 146.2 kB / 1.01 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.8145, allocations: 211.9 kB / 1.011 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8145, allocations: 1.125 kB / 1.011 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005008/0.815, allocations: 246 kB / 1.011 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.815, allocations: 5.781 kB / 1.011 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.815, allocations: 2.906 kB / 1.011 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8151, allocations: 3.844 kB / 1.011 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.8152, allocations: 40.92 kB / 1.011 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.8153, allocations: 5 kB / 1.011 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.8155, allocations: 28.59 kB / 1.011 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.8155, allocations: 13 kB / 1.011 GB, free: 16.61 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.0001653/0.8157, allocations: 151.3 kB / 1.011 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.8158, allocations: 28.34 kB / 1.011 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.8163, allocations: 196.2 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.8163, allocations: 3.125 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8163, allocations: 2.156 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8163, allocations: 2.203 kB / 1.011 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009783/0.8173, allocations: 0.8263 MB / 1.012 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8173, allocations: 2.188 kB / 1.012 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.8174, allocations: 28.3 kB / 1.012 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.8174, allocations: 6 kB / 1.012 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.8174, allocations: 6.188 kB / 1.012 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8174, allocations: 6.109 kB / 1.012 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.8174, allocations: 1.594 kB / 1.012 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.818, allocations: 335.1 kB / 1.013 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.818, allocations: 35.59 kB / 1.013 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.8181, allocations: 17.62 kB / 1.013 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.8182, allocations: 9.375 kB / 1.013 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.8183, allocations: 12.7 kB / 1.013 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.8183, allocations: 2.812 kB / 1.013 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002308/0.8185, allocations: 236.9 kB / 1.013 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8185, allocations: 0 / 1.013 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005691/0.8191, allocations: 103.3 kB / 1.013 GB, free: 15.49 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.001284/0.8204, allocations: 0.9681 MB / 1.014 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.8208, allocations: 143.7 kB / 1.014 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8208, allocations: 0.75 kB / 1.014 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.8209, allocations: 62.81 kB / 1.014 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.8217, allocations: 133.5 kB / 1.014 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.825, allocations: 2.779 MB / 1.017 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.8254, allocations: 0.7604 MB / 1.018 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000221/0.8256, allocations: 69.55 kB / 1.018 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.8258, allocations: 74.53 kB / 1.018 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of SimCode: time 6.42e-07/0.8258, allocations: 1.438 kB / 1.018 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.8584, allocations: 8.826 MB / 1.026 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.02, allocations: 14.23 kB / 1.026 GB, free: 11.73 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: 16.017542458022945] Failed to read output from testmodel.py, exit status != 0: 12.182184428966139 12.193490178 11.385460352 Calling exit ...