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.001219/0.001219, allocations: 110.4 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.001323/0.001323, allocations: 216.9 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.356/1.356, allocations: 230.6 MB / 256 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.002396/0.002396, allocations: 281.2 kB / 312.7 MB, free: 2.816 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.166/1.166, 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.002791/0.002791, allocations: 100.9 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.178, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.637/0.815, allocations: 166.8 MB / 0.9956 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004728/0.8198, allocations: 4.647 MB / 1 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.8202, allocations: 14.88 kB / 1 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.8207, allocations: 127.7 kB / 1 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.8219, allocations: 0.5757 MB / 1.001 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.8239, allocations: 0.8141 MB / 1.002 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.8247, allocations: 0.5879 MB / 1.002 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.8251, allocations: 168.9 kB / 1.002 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.8262, allocations: 489.2 kB / 1.003 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.8269, allocations: 318.7 kB / 1.003 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.8269, allocations: 18.91 kB / 1.003 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.829, allocations: 1.107 MB / 1.004 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.8292, allocations: 92.75 kB / 1.004 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.8293, allocations: 131.4 kB / 1.004 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.8312, allocations: 0.7167 MB / 1.005 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.8312, allocations: 1.594 kB / 1.005 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8312, allocations: 0 / 1.005 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.8312, allocations: 1.5 kB / 1.005 GB, free: 3.316 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.001627/0.8329, allocations: 0.5243 MB / 1.006 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.8329, allocations: 10.94 kB / 1.006 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.335e-05/0.833, allocations: 52.62 kB / 1.006 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/0.8337, allocations: 82.2 kB / 1.006 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.8342, allocations: 242.1 kB / 1.006 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.8343, allocations: 15.31 kB / 1.006 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.8343, allocations: 16.97 kB / 1.006 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.8349, allocations: 290.3 kB / 1.006 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.8349, allocations: 0.6875 kB / 1.006 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.8349, allocations: 8.25 kB / 1.006 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.8349, allocations: 7.422 kB / 1.006 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.8354, allocations: 213 kB / 1.007 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.8371, allocations: 1.202 MB / 1.008 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.8373, allocations: 172.3 kB / 1.008 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.8375, allocations: 112.2 kB / 1.008 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006733/0.8382, allocations: 104.2 kB / 1.008 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.8383, allocations: 43.12 kB / 1.008 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.8383, allocations: 1.5 kB / 1.008 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000811/0.8391, allocations: 283.2 kB / 1.008 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.8392, allocations: 164.8 kB / 1.009 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.8395, allocations: 287.2 kB / 1.009 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.8395, allocations: 28.92 kB / 1.009 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.8396, allocations: 147.2 kB / 1.009 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.8397, allocations: 51.17 kB / 1.009 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.8398, allocations: 43.56 kB / 1.009 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8399, allocations: 337.1 kB / 1.009 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.8401, allocations: 69.2 kB / 1.01 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.8403, allocations: 146.3 kB / 1.01 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.8406, allocations: 212.1 kB / 1.01 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8406, allocations: 1.188 kB / 1.01 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004976/0.8411, allocations: 247.2 kB / 1.01 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8412, allocations: 7.562 kB / 1.01 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.8412, allocations: 3.312 kB / 1.01 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.8412, allocations: 3.031 kB / 1.01 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.8414, allocations: 45 kB / 1.01 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.8414, allocations: 3.844 kB / 1.01 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.8416, allocations: 29.16 kB / 1.01 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.8416, allocations: 11.48 kB / 1.01 GB, free: 16.6 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.0001629/0.8418, allocations: 150.4 kB / 1.01 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.8419, allocations: 33.03 kB / 1.01 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.8424, allocations: 188.5 kB / 1.011 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.8424, allocations: 2.25 kB / 1.011 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8424, allocations: 1.969 kB / 1.011 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.8424, allocations: 2.281 kB / 1.011 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.8434, allocations: 0.8216 MB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8434, allocations: 2.344 kB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.8435, allocations: 30.03 kB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8435, allocations: 2.25 kB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.8435, allocations: 11.06 kB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.8435, allocations: 4.719 kB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8435, allocations: 1.125 kB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.8441, allocations: 343.4 kB / 1.012 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.8441, allocations: 36.98 kB / 1.012 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.8442, allocations: 10.58 kB / 1.012 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.8443, allocations: 9.625 kB / 1.012 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.8444, allocations: 10.75 kB / 1.012 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.8444, allocations: 5.484 kB / 1.012 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002153/0.8446, allocations: 236.7 kB / 1.012 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8446, allocations: 0 / 1.012 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005059/0.8451, allocations: 103.5 kB / 1.012 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.001121/0.8462, allocations: 0.9717 MB / 1.013 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.8466, allocations: 149.6 kB / 1.013 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8466, allocations: 1.25 kB / 1.013 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.8468, allocations: 58.03 kB / 1.013 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.8475, allocations: 135.9 kB / 1.013 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.8508, allocations: 2.775 MB / 1.016 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.8512, allocations: 0.757 MB / 1.017 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.8514, allocations: 66.12 kB / 1.017 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.8515, allocations: 77.19 kB / 1.017 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8515, allocations: 1 kB / 1.017 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/0.89, allocations: 8.802 MB / 1.026 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.13, allocations: 3.938 kB / 1.026 GB, free: 11.75 MB / 0.7325 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.137301327999012] Failed to read output from testmodel.py, exit status != 0: 11.232065551001142 11.243288684 10.40967487 Calling exit ...