Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.002009/0.002009, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.002149/0.002149, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2303/0.2303, allocations: 44.94 MB / 359.6 MB, free: 6.113 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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.002105/0.002105, allocations: 62.88 kB / 0.4938 GB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 65.46 MB / 0.5577 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03578/0.394, allocations: 27.69 MB / 0.5848 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.4183, allocations: 15.66 MB / 0.6001 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.4188, allocations: 15.88 kB / 0.6001 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008909/0.4197, allocations: 202.6 kB / 0.6003 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.4206, allocations: 278.4 kB / 0.6005 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01872/0.4393, allocations: 5.998 MB / 0.6064 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.441, allocations: 0.8576 MB / 0.6072 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.4415, allocations: 200.9 kB / 0.6074 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01436/0.4559, allocations: 5.485 MB / 0.6128 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.4565, allocations: 254.9 kB / 0.613 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.4567, allocations: 32 kB / 0.613 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.4698, allocations: 6.299 MB / 0.6192 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.4701, allocations: 95.66 kB / 0.6193 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.4704, allocations: 155.3 kB / 0.6194 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009178/0.4796, allocations: 3.858 MB / 0.6232 GB, free: 4.277 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.4796, allocations: 0 / 0.6232 GB, free: 4.277 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4796, allocations: 0 / 0.6232 GB, free: 4.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.4796, allocations: 0 / 0.6232 GB, free: 4.277 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002865/0.4825, allocations: 1.001 MB / 0.6242 GB, free: 3.242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4825, allocations: 12.03 kB / 0.6242 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.209e-05/0.4826, allocations: 12.84 kB / 0.6242 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/0.4826, allocations: 58.73 kB / 0.6243 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.4844, allocations: 204.4 kB / 0.6245 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006604/0.485, allocations: 292.9 kB / 0.6247 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.4851, allocations: 25.03 kB / 0.6248 GB, free: 2.609 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.4851, allocations: 27.94 kB / 0.6248 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.4865, allocations: 0.6312 MB / 0.6254 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4866, allocations: 0 / 0.6254 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.4866, allocations: 12 kB / 0.6254 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.4866, allocations: 8 kB / 0.6254 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.4879, allocations: 417.2 kB / 0.6258 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.491, allocations: 1.816 MB / 0.6276 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.4923, allocations: 326.1 kB / 0.6279 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.4926, allocations: 108.7 kB / 0.628 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03138/0.524, allocations: 8.859 MB / 0.6367 GB, free: 6.246 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.524, allocations: 30.56 kB / 0.6367 GB, free: 6.207 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/0.524, allocations: 0 / 0.6367 GB, free: 6.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002239/0.5262, allocations: 0.5166 MB / 0.6372 GB, free: 5.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.5264, allocations: 106.8 kB / 0.6373 GB, free: 5.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.5268, allocations: 332.4 kB / 0.6376 GB, free: 5.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.5269, allocations: 33.58 kB / 0.6376 GB, free: 5.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.5271, allocations: 216.1 kB / 0.6378 GB, free: 4.961 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5272, allocations: 55.53 kB / 0.6379 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.5273, allocations: 73.58 kB / 0.638 GB, free: 4.828 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5275, allocations: 334.8 kB / 0.6383 GB, free: 4.492 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.5278, allocations: 95.92 kB / 0.6384 GB, free: 4.398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.5282, allocations: 261.1 kB / 0.6386 GB, free: 4.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.5288, allocations: 296.5 kB / 0.6389 GB, free: 3.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5288, allocations: 0 / 0.6389 GB, free: 3.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008061/0.5296, allocations: 345.4 kB / 0.6392 GB, free: 3.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.5297, allocations: 11.94 kB / 0.6393 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5297, allocations: 4 kB / 0.6393 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.5297, allocations: 4 kB / 0.6393 GB, free: 3.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.53, allocations: 71.89 kB / 0.6393 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.53, allocations: 11.94 kB / 0.6393 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.5303, allocations: 39.77 kB / 0.6394 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.5303, allocations: 15.98 kB / 0.6394 GB, free: 3.242 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001931/0.5305, allocations: 157.8 kB / 0.6395 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.5306, allocations: 39.7 kB / 0.6396 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.5322, allocations: 1.141 MB / 0.6407 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.5322, allocations: 15.97 kB / 0.6407 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5322, allocations: 0 / 0.6407 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5322, allocations: 0 / 0.6407 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007142/0.5329, allocations: 0.6164 MB / 0.6413 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5329, allocations: 3.938 kB / 0.6413 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.5332, allocations: 51.89 kB / 0.6414 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5332, allocations: 3.938 kB / 0.6414 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.5332, allocations: 4 kB / 0.6414 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5332, allocations: 4 kB / 0.6414 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5332, allocations: 3.984 kB / 0.6414 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/0.5342, allocations: 0.6352 MB / 0.642 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.5343, allocations: 63.47 kB / 0.6421 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.5343, allocations: 23.72 kB / 0.6421 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.5345, allocations: 19.98 kB / 0.6421 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.5346, allocations: 23.95 kB / 0.6421 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.5347, allocations: 8 kB / 0.6421 GB, free: 360 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004165/0.5351, allocations: 346.8 kB / 0.6425 GB, free: 12 kB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5351, allocations: 0 / 0.6425 GB, free: 12 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002884/0.538, allocations: 0.8539 MB / 0.6433 GB, free: 15.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005789/0.5437, allocations: 2.086 MB / 0.6453 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009406/0.5447, allocations: 350.3 kB / 0.6457 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5447, allocations: 3.938 kB / 0.6457 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.5451, allocations: 213.4 kB / 0.6459 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5462, allocations: 195.7 kB / 0.6461 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.554, allocations: 4.306 MB / 0.6503 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.5544, allocations: 292.8 kB / 0.6505 GB, free: 7.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004825/0.5548, allocations: 177.5 kB / 0.6507 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.5551, allocations: 191.4 kB / 0.6509 GB, free: 7.156 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5551, allocations: 0 / 0.6509 GB, free: 7.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08148/0.6366, allocations: 41.45 MB / 0.6914 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.66, allocations: 7.438 kB / 0.6914 GB, free: 13.97 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.859026927035302] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 14.858733513043262 14.878881998 14.395547758 Calling exit ...