Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2458/0.2458, allocations: 46.89 MB / 357.4 MB, free: 10.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 83.86 kB / 0.4912 GB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1347, allocations: 65.98 MB / 0.5557 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03487/0.1696, allocations: 30.39 MB / 0.5853 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3251/0.4947, allocations: 17.68 MB / 0.6026 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004231/0.4951, allocations: 9.406 kB / 0.6026 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.4959, allocations: 225.8 kB / 0.6028 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007774/0.4967, allocations: 275.7 kB / 0.6031 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02171/0.5184, allocations: 6.071 MB / 0.609 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.5202, allocations: 0.8338 MB / 0.6098 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.5207, allocations: 204.5 kB / 0.61 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.5331, allocations: 5.475 MB / 0.6154 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.5337, allocations: 263.4 kB / 0.6156 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.5338, allocations: 29 kB / 0.6157 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/0.5477, allocations: 6.336 MB / 0.6218 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.5479, allocations: 100.9 kB / 0.6219 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.5482, allocations: 188.8 kB / 0.6221 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.5604, allocations: 3.863 MB / 0.6259 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.5604, allocations: 2.562 kB / 0.6259 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5604, allocations: 0 / 0.6259 GB, free: 14.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5604, allocations: 0 / 0.6259 GB, free: 14.64 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.004065/0.5645, allocations: 1.078 MB / 0.6269 GB, free: 13.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.5645, allocations: 9.094 kB / 0.627 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.87e-05/0.5646, allocations: 59.86 kB / 0.627 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.5664, allocations: 206.8 kB / 0.6272 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/0.5672, allocations: 366 kB / 0.6276 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.5672, allocations: 19.59 kB / 0.6276 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.5672, allocations: 25.62 kB / 0.6276 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.5685, allocations: 493.2 kB / 0.6281 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5685, allocations: 5.312 kB / 0.6281 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.5686, allocations: 11.97 kB / 0.6281 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.5686, allocations: 6.531 kB / 0.6281 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.5699, allocations: 413.6 kB / 0.6285 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.5735, allocations: 2.427 MB / 0.6309 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.5747, allocations: 312.4 kB / 0.6312 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.575, allocations: 107.2 kB / 0.6313 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03612/0.6112, allocations: 18.38 MB / 0.6492 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.6112, allocations: 42.55 kB / 0.6492 GB, free: 9.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.375e-06/0.6112, allocations: 0 / 0.6492 GB, free: 9.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002121/0.6133, allocations: 0.5221 MB / 0.6498 GB, free: 8.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.6134, allocations: 106.8 kB / 0.6499 GB, free: 8.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.6138, allocations: 328.4 kB / 0.6502 GB, free: 8.457 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.6138, allocations: 25.7 kB / 0.6502 GB, free: 8.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.614, allocations: 215.1 kB / 0.6504 GB, free: 8.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.614, allocations: 59.5 kB / 0.6505 GB, free: 8.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.6141, allocations: 61.66 kB / 0.6505 GB, free: 8.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6143, allocations: 346.8 kB / 0.6508 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.6146, allocations: 83.94 kB / 0.6509 GB, free: 7.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.6151, allocations: 219.2 kB / 0.6511 GB, free: 7.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.6157, allocations: 300.8 kB / 0.6514 GB, free: 7.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6157, allocations: 4 kB / 0.6514 GB, free: 7.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007799/0.6165, allocations: 333 kB / 0.6517 GB, free: 6.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6165, allocations: 8 kB / 0.6518 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6165, allocations: 11.92 kB / 0.6518 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.6165, allocations: 7.938 kB / 0.6518 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.6168, allocations: 71.89 kB / 0.6518 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6168, allocations: 4.438 kB / 0.6518 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.6171, allocations: 43.72 kB / 0.6519 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.6171, allocations: 16 kB / 0.6519 GB, free: 6.555 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.0001967/0.6173, allocations: 153.8 kB / 0.652 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.6174, allocations: 35.75 kB / 0.6521 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.619, allocations: 1.11 MB / 0.6532 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.619, allocations: 11.98 kB / 0.6532 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.619, allocations: 0 / 0.6532 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.619, allocations: 3.984 kB / 0.6532 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.6198, allocations: 0.6728 MB / 0.6538 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6198, allocations: 0 / 0.6538 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.6201, allocations: 51.95 kB / 0.6539 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6201, allocations: 0 / 0.6539 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.6201, allocations: 11.94 kB / 0.6539 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.6201, allocations: 0 / 0.6539 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6201, allocations: 1.062 kB / 0.6539 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.621, allocations: 0.6196 MB / 0.6545 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.6211, allocations: 140.5 kB / 0.6546 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.6212, allocations: 27.72 kB / 0.6547 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.6214, allocations: 15.98 kB / 0.6547 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.6215, allocations: 23.97 kB / 0.6547 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.6215, allocations: 4 kB / 0.6547 GB, free: 3.586 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004022/0.6219, allocations: 350.8 kB / 0.655 GB, free: 3.246 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6219, allocations: 0 / 0.655 GB, free: 3.246 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003446/0.6253, allocations: 0.8539 MB / 0.6559 GB, free: 2.391 MB / 478.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.006317/0.6317, allocations: 2.093 MB / 0.6579 GB, free: 384 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.6325, allocations: 347.8 kB / 0.6583 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6325, allocations: 8 kB / 0.6583 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.6329, allocations: 200.5 kB / 0.6585 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.634, allocations: 178.8 kB / 0.6586 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008166/0.6422, allocations: 4.288 MB / 0.6628 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.6428, allocations: 0.8835 MB / 0.6637 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004512/0.6432, allocations: 186 kB / 0.6638 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.6435, allocations: 191.4 kB / 0.664 GB, free: 9.934 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6435, allocations: 0 / 0.664 GB, free: 9.934 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0887/0.7322, allocations: 40.56 MB / 0.7036 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.37, allocations: 11.92 kB / 0.7037 GB, free: 1.516 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.434724442195147] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 11.46697834180668 11.483181112 10.91952727 Calling exit ...