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.001165/0.001165, allocations: 105 kB / 19.74 MB, free: 2.453 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.001282/0.001282, allocations: 217 kB / 22.92 MB, free: 5.195 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.277/1.277, allocations: 230.2 MB / 256.2 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] 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.198/0.198, allocations: 46.87 MB / 359.3 MB, free: 4.984 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.0021/0.0021, allocations: 87.84 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2507, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03019/0.2809, allocations: 30.64 MB / 0.5883 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01929/0.3002, allocations: 17.77 MB / 0.6057 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.3005, allocations: 11.94 kB / 0.6057 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.3012, allocations: 222.6 kB / 0.6059 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006206/0.3018, allocations: 274.4 kB / 0.6062 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0138/0.3156, allocations: 6.075 MB / 0.6121 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.3167, allocations: 0.8421 MB / 0.6129 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.317, allocations: 204.7 kB / 0.6131 GB, free: 13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.3287, allocations: 5.481 MB / 0.6185 GB, free: 7.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.3291, allocations: 254.9 kB / 0.6187 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.3292, allocations: 31.94 kB / 0.6187 GB, free: 7.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.34, allocations: 6.341 MB / 0.6249 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3401, allocations: 91.72 kB / 0.625 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.3403, allocations: 187.2 kB / 0.6252 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.346, allocations: 3.858 MB / 0.629 GB, free: 12.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.346, allocations: 0 / 0.629 GB, free: 12.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.346, allocations: 0 / 0.629 GB, free: 12.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3461, allocations: 4 kB / 0.629 GB, free: 12.67 MB / 478.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.001901/0.348, allocations: 1.087 MB / 0.63 GB, free: 11.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.348, allocations: 8.031 kB / 0.63 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.3481, allocations: 62.73 kB / 0.6301 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.3496, allocations: 204.5 kB / 0.6303 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.35, allocations: 358.6 kB / 0.6306 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.35, allocations: 24.94 kB / 0.6307 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.3501, allocations: 28.12 kB / 0.6307 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3512, allocations: 482.9 kB / 0.6312 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3512, allocations: 7.938 kB / 0.6312 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3513, allocations: 16 kB / 0.6312 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3513, allocations: 4 kB / 0.6312 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3524, allocations: 409.2 kB / 0.6316 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.3553, allocations: 2.419 MB / 0.6339 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.3564, allocations: 314.3 kB / 0.6342 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.3567, allocations: 112.8 kB / 0.6343 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03292/0.3896, allocations: 18.37 MB / 0.6523 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3896, allocations: 42.48 kB / 0.6523 GB, free: 2.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3896, allocations: 0 / 0.6523 GB, free: 2.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.001954/0.3916, allocations: 0.5354 MB / 0.6528 GB, free: 1.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.3916, allocations: 102.8 kB / 0.6529 GB, free: 1.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.392, allocations: 328.4 kB / 0.6533 GB, free: 1.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.392, allocations: 25.7 kB / 0.6533 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3922, allocations: 216 kB / 0.6535 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.3922, allocations: 55.58 kB / 0.6535 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.3923, allocations: 65.66 kB / 0.6536 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3924, allocations: 338.8 kB / 0.6539 GB, free: 324 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.3927, allocations: 91.94 kB / 0.654 GB, free: 232 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.3931, allocations: 217.5 kB / 0.6542 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.3937, allocations: 297.4 kB / 0.6545 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3937, allocations: 4 kB / 0.6545 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007353/0.3944, allocations: 337.3 kB / 0.6548 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3944, allocations: 8 kB / 0.6548 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.3944, allocations: 11.92 kB / 0.6548 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3945, allocations: 4 kB / 0.6548 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3947, allocations: 71.89 kB / 0.6549 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3947, allocations: 4 kB / 0.6549 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.395, allocations: 35.77 kB / 0.655 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.395, allocations: 20.16 kB / 0.655 GB, free: 15.13 MB / 0.4981 GB 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.0001525/0.3951, allocations: 157.7 kB / 0.6551 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.3952, allocations: 35.77 kB / 0.6552 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.3966, allocations: 1.11 MB / 0.6562 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.3966, allocations: 11.98 kB / 0.6563 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3966, allocations: 4 kB / 0.6563 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3966, allocations: 3.984 kB / 0.6563 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.3973, allocations: 0.6641 MB / 0.6569 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3973, allocations: 0 / 0.6569 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.3975, allocations: 55.89 kB / 0.657 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3975, allocations: 3.938 kB / 0.657 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3976, allocations: 11.94 kB / 0.657 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3976, allocations: 0 / 0.657 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3976, allocations: 0 / 0.657 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.3984, allocations: 0.6235 MB / 0.6576 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3985, allocations: 136.6 kB / 0.6577 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.3986, allocations: 23.72 kB / 0.6577 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.3988, allocations: 19.98 kB / 0.6578 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.3989, allocations: 19.97 kB / 0.6578 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3989, allocations: 4 kB / 0.6578 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003792/0.3993, allocations: 346.8 kB / 0.6581 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3993, allocations: 8 kB / 0.6581 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002082/0.4013, allocations: 0.8538 MB / 0.659 GB, free: 10.94 MB / 0.4981 GB 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.004296/0.4056, allocations: 2.085 MB / 0.661 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007853/0.4064, allocations: 352.2 kB / 0.6613 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4064, allocations: 0.9375 kB / 0.6613 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.4068, allocations: 204.5 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.4077, allocations: 193.2 kB / 0.6617 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006145/0.4138, allocations: 4.292 MB / 0.6659 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.4143, allocations: 0.8759 MB / 0.6668 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003459/0.4147, allocations: 181.5 kB / 0.6669 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.4149, allocations: 191.4 kB / 0.6671 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.4149, allocations: 4 kB / 0.6671 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07049/0.4854, allocations: 40.57 MB / 0.7067 GB, free: 9.906 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.469/9.954, allocations: 12.06 kB / 0.7067 GB, free: 9.895 MB / 0.545 GB " [Timeout remaining time 650] (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 --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: 12.435255197997321]