Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001437/0.001437, allocations: 105 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.001557/0.001557, allocations: 219 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.315/1.315, allocations: 230.2 MB / 256.1 MB, free: 8.75 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.2013/0.2013, allocations: 46.88 MB / 359.3 MB, free: 4.988 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.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.002207/0.002207, allocations: 83.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2637, allocations: 65.97 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03189/0.2956, allocations: 28.66 MB / 0.5864 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.3119, allocations: 13.38 MB / 0.5995 GB, free: 11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.3122, allocations: 11.94 kB / 0.5995 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.313, allocations: 250.4 kB / 0.5997 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009148/0.3221, allocations: 3.673 MB / 0.6033 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006443/0.3286, allocations: 2.38 MB / 0.6056 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.3299, allocations: 0.9002 MB / 0.6065 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.3303, allocations: 224.3 kB / 0.6067 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.3312, allocations: 462.1 kB / 0.6072 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.3316, allocations: 278.9 kB / 0.6074 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-05/0.3317, allocations: 32 kB / 0.6075 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/0.3449, allocations: 7.251 MB / 0.6145 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3451, allocations: 99.66 kB / 0.6146 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.3454, allocations: 226.9 kB / 0.6148 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008311/0.3538, allocations: 4.435 MB / 0.6192 GB, free: 6.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3538, allocations: 0 / 0.6192 GB, free: 6.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3538, allocations: 0 / 0.6192 GB, free: 6.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3538, allocations: 0 / 0.6192 GB, free: 6.789 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003029/0.3568, allocations: 1.282 MB / 0.6204 GB, free: 5.453 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3568, allocations: 12.03 kB / 0.6204 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.192e-05/0.3569, allocations: 62.72 kB / 0.6205 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.3586, allocations: 220.5 kB / 0.6207 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.3591, allocations: 371.5 kB / 0.6211 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.3591, allocations: 29.03 kB / 0.6211 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.3592, allocations: 36.12 kB / 0.6211 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.3607, allocations: 0.5823 MB / 0.6217 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3607, allocations: 3.938 kB / 0.6217 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.3608, allocations: 12 kB / 0.6217 GB, free: 4.051 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3608, allocations: 8 kB / 0.6217 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.3624, allocations: 0.5484 MB / 0.6223 GB, free: 3.496 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.3654, allocations: 2.637 MB / 0.6248 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.3669, allocations: 450.1 kB / 0.6253 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.3674, allocations: 192.7 kB / 0.6254 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05129/0.4187, allocations: 26.88 MB / 0.6517 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.4188, allocations: 34.56 kB / 0.6517 GB, free: 1.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/0.4188, allocations: 0 / 0.6517 GB, free: 1.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.002948/0.4217, allocations: 0.817 MB / 0.6525 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.4218, allocations: 114.8 kB / 0.6526 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.4221, allocations: 304.5 kB / 0.6529 GB, free: 392 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.4222, allocations: 33.7 kB / 0.653 GB, free: 352 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4223, allocations: 208.5 kB / 0.6532 GB, free: 136 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.4224, allocations: 91.2 kB / 0.6532 GB, free: 44 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.4225, allocations: 69.69 kB / 0.6533 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4227, allocations: 338.8 kB / 0.6536 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.4231, allocations: 155.8 kB / 0.6538 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.4236, allocations: 239.8 kB / 0.654 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.4246, allocations: 385.9 kB / 0.6544 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4246, allocations: 0 / 0.6544 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001108/0.4257, allocations: 440.9 kB / 0.6548 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4257, allocations: 8 kB / 0.6548 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4257, allocations: 7.984 kB / 0.6548 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.4257, allocations: 8.25 kB / 0.6548 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.4261, allocations: 95.88 kB / 0.6549 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4261, allocations: 4 kB / 0.6549 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.4264, allocations: 55.62 kB / 0.655 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.4264, allocations: 19.98 kB / 0.655 GB, free: 14.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001912/0.4266, allocations: 153.8 kB / 0.6551 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.4267, allocations: 39.77 kB / 0.6552 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.4293, allocations: 1.913 MB / 0.657 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.4293, allocations: 27.95 kB / 0.6571 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4293, allocations: 4 kB / 0.6571 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4293, allocations: 0 / 0.6571 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4304, allocations: 1.02 MB / 0.6581 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4304, allocations: 0 / 0.6581 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.4307, allocations: 79.88 kB / 0.6581 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4307, allocations: 0 / 0.6581 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.4307, allocations: 15.92 kB / 0.6582 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4307, allocations: 7.938 kB / 0.6582 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4307, allocations: 0 / 0.6582 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.4324, allocations: 1.1 MB / 0.6592 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.4326, allocations: 168.2 kB / 0.6594 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.4326, allocations: 31.72 kB / 0.6594 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.4329, allocations: 31.97 kB / 0.6595 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.433, allocations: 31.95 kB / 0.6595 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.433, allocations: 12 kB / 0.6595 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004062/0.4335, allocations: 335.1 kB / 0.6598 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4335, allocations: 0 / 0.6598 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002563/0.436, allocations: 1.006 MB / 0.6608 GB, free: 8.09 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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006284/0.4423, allocations: 2.725 MB / 0.6635 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.4437, allocations: 0.5943 MB / 0.664 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4437, allocations: 0.625 kB / 0.664 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.4444, allocations: 417 kB / 0.6644 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.4455, allocations: 223.9 kB / 0.6647 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/0.4541, allocations: 5.052 MB / 0.6696 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.4547, allocations: 0.956 MB / 0.6705 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.4551, allocations: 278 kB / 0.6708 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.4555, allocations: 259.3 kB / 0.671 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.4555, allocations: 0 / 0.671 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08196/0.5374, allocations: 46.97 MB / 0.7169 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.82, allocations: 11.12 kB / 0.7169 GB, free: 14.53 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.40251893599634]