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.001318/0.001318, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001564/0.001564, allocations: 218.4 kB / 22.92 MB, free: 5.535 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.306/1.306, allocations: 230.2 MB / 256.2 MB, free: 8.758 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.1995/0.1995, allocations: 46.89 MB / 359.3 MB, free: 5.016 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.002108/0.002108, allocations: 87.78 kB / 0.494 GB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2574, allocations: 65.97 MB / 0.5584 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03186/0.2893, allocations: 30.65 MB / 0.5883 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.3089, allocations: 17.76 MB / 0.6057 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.3092, allocations: 15.88 kB / 0.6057 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.3098, allocations: 218.6 kB / 0.6059 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.3104, allocations: 282.4 kB / 0.6062 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.3241, allocations: 6.064 MB / 0.6121 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.3251, allocations: 0.842 MB / 0.6129 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.3255, allocations: 212.7 kB / 0.6131 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009865/0.3354, allocations: 5.474 MB / 0.6185 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.3357, allocations: 254.9 kB / 0.6187 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.3358, allocations: 32 kB / 0.6187 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.3464, allocations: 6.341 MB / 0.6249 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3465, allocations: 103.6 kB / 0.625 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.3467, allocations: 191.1 kB / 0.6252 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.3528, allocations: 3.862 MB / 0.629 GB, free: 12.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3528, allocations: 0 / 0.629 GB, free: 12.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3529, allocations: 0 / 0.629 GB, free: 12.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.3529, allocations: 0 / 0.629 GB, free: 12.72 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.002148/0.355, allocations: 1.084 MB / 0.63 GB, free: 11.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.355, allocations: 8.031 kB / 0.6301 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.584e-05/0.3551, allocations: 62.72 kB / 0.6301 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.3567, allocations: 204.5 kB / 0.6303 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.3571, allocations: 350.7 kB / 0.6306 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.3572, allocations: 24.94 kB / 0.6307 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.3572, allocations: 28.12 kB / 0.6307 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.3584, allocations: 490.9 kB / 0.6312 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3584, allocations: 3.938 kB / 0.6312 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.3584, allocations: 12 kB / 0.6312 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3584, allocations: 8 kB / 0.6312 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3596, allocations: 413.2 kB / 0.6316 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.3625, allocations: 2.419 MB / 0.6339 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3636, allocations: 322.2 kB / 0.6342 GB, free: 6.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.3639, allocations: 100.8 kB / 0.6343 GB, free: 6.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03346/0.3974, allocations: 18.37 MB / 0.6523 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3974, allocations: 42.56 kB / 0.6523 GB, free: 2.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3974, allocations: 0 / 0.6523 GB, free: 2.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.001956/0.3994, allocations: 0.5243 MB / 0.6528 GB, free: 1.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.3995, allocations: 110.8 kB / 0.6529 GB, free: 1.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.3998, allocations: 320.5 kB / 0.6532 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3998, allocations: 29.7 kB / 0.6533 GB, free: 1.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.4, allocations: 216 kB / 0.6535 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.4, allocations: 47.58 kB / 0.6535 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/0.4001, allocations: 73.64 kB / 0.6536 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4003, allocations: 338.8 kB / 0.6539 GB, free: 380 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.4006, allocations: 91.92 kB / 0.654 GB, free: 288 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.4009, allocations: 211.3 kB / 0.6542 GB, free: 20 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.4015, allocations: 304.4 kB / 0.6545 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-06/0.4015, allocations: 0 / 0.6545 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007731/0.4023, allocations: 337 kB / 0.6548 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4023, allocations: 8 kB / 0.6548 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4023, allocations: 3.938 kB / 0.6548 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4023, allocations: 11.98 kB / 0.6548 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.4026, allocations: 71.83 kB / 0.6549 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4026, allocations: 8.469 kB / 0.6549 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.4029, allocations: 47.75 kB / 0.655 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.4029, allocations: 16 kB / 0.655 GB, free: 15.18 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.0001605/0.4031, allocations: 153.7 kB / 0.6551 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.4031, allocations: 35.77 kB / 0.6552 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.4046, allocations: 1.11 MB / 0.6562 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.4046, allocations: 19.91 kB / 0.6563 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4046, allocations: 0 / 0.6563 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4046, allocations: 0 / 0.6563 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.4053, allocations: 0.6641 MB / 0.6569 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4053, allocations: 0 / 0.6569 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.4055, allocations: 59.94 kB / 0.657 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4055, allocations: 0 / 0.657 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4055, allocations: 3.938 kB / 0.657 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4055, allocations: 7.938 kB / 0.657 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4055, allocations: 0 / 0.657 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.4064, allocations: 0.6274 MB / 0.6576 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.4065, allocations: 128.7 kB / 0.6577 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.4065, allocations: 27.72 kB / 0.6577 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4068, allocations: 19.97 kB / 0.6578 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.4068, allocations: 19.97 kB / 0.6578 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.4068, allocations: 12 kB / 0.6578 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000366/0.4072, allocations: 338.9 kB / 0.6581 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4072, allocations: 0 / 0.6581 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002032/0.4092, allocations: 0.8616 MB / 0.659 GB, free: 10.99 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.004657/0.4139, allocations: 2.082 MB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007679/0.4147, allocations: 341.1 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4147, allocations: 4 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.415, allocations: 204.5 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.4159, allocations: 189 kB / 0.6617 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00617/0.4221, allocations: 4.291 MB / 0.6659 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.4226, allocations: 0.8797 MB / 0.6667 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003345/0.4229, allocations: 193.5 kB / 0.6669 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.4231, allocations: 191.4 kB / 0.6671 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4231, allocations: 0 / 0.6671 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07069/0.4938, allocations: 40.58 MB / 0.7067 GB, free: 9.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.63/10.12, allocations: 11.77 kB / 0.7067 GB, free: 9.941 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 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.678039730002638]