Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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: 109.7 kB / 19.74 MB, free: 2.586 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.001589/0.001589, allocations: 220.9 kB / 22.92 MB, free: 5.559 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.28/1.28, allocations: 230.2 MB / 256.2 MB, free: 8.605 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.1987/0.1987, allocations: 46.89 MB / 359.3 MB, free: 4.938 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.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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.002123/0.002123, allocations: 87.84 kB / 0.494 GB, free: 9.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2518, allocations: 65.97 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.04855/0.3003, allocations: 51.91 MB / 0.6091 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0232/0.3235, allocations: 19.27 MB / 0.6279 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.3251, allocations: 43.75 kB / 0.628 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.3274, allocations: 0.9779 MB / 0.6289 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008904/0.3363, allocations: 4.012 MB / 0.6328 GB, free: 8.715 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006726/0.3431, allocations: 2.838 MB / 0.6356 GB, free: 5.898 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005671/0.3487, allocations: 4.644 MB / 0.6402 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3501, allocations: 1.088 MB / 0.6412 GB, free: 132 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.3528, allocations: 1.915 MB / 0.6431 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.3546, allocations: 1.467 MB / 0.6445 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.3549, allocations: 148 kB / 0.6447 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006687/0.3616, allocations: 3.989 MB / 0.6486 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005448/0.3621, allocations: 498.2 kB / 0.649 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.3633, allocations: 1.031 MB / 0.65 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006755/0.3701, allocations: 4.591 MB / 0.6545 GB, free: 2.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3701, allocations: 3.984 kB / 0.6545 GB, free: 2.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3701, allocations: 4 kB / 0.6545 GB, free: 2.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.288e-05/0.3701, allocations: 0 / 0.6545 GB, free: 2.457 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003733/0.3739, allocations: 2.366 MB / 0.6568 GB, free: 32 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3739, allocations: 8.031 kB / 0.6568 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.3742, allocations: 210.6 kB / 0.657 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.3753, allocations: 259.7 kB / 0.6573 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.3769, allocations: 1.124 MB / 0.6584 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.377, allocations: 102.8 kB / 0.6585 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.3771, allocations: 128 kB / 0.6586 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.38, allocations: 1.911 MB / 0.6605 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.3801, allocations: 7.938 kB / 0.6605 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.3802, allocations: 64 kB / 0.6605 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.3802, allocations: 36 kB / 0.6606 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.3828, allocations: 1.617 MB / 0.6622 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00884/0.3916, allocations: 9.233 MB / 0.6712 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.3933, allocations: 0.9702 MB / 0.6721 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.394, allocations: 464.1 kB / 0.6726 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004909/0.3989, allocations: 5.516 MB / 0.678 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.399, allocations: 51.56 kB / 0.678 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 2.014e-06/0.399, allocations: 0 / 0.678 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.003486/0.4025, allocations: 1.393 MB / 0.6794 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.4026, allocations: 372.8 kB / 0.6797 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.4039, allocations: 1.134 MB / 0.6808 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.404, allocations: 49.7 kB / 0.6809 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005522/0.4046, allocations: 0.7964 MB / 0.6817 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.4048, allocations: 357 kB / 0.682 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.4052, allocations: 307.4 kB / 0.6823 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4054, allocations: 361.9 kB / 0.6826 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/0.4061, allocations: 399.8 kB / 0.683 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.4074, allocations: 0.9949 MB / 0.684 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.4095, allocations: 1.423 MB / 0.6854 GB, free: 400 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.4095, allocations: 4 kB / 0.6854 GB, free: 396 kB / 0.5137 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002667/0.4122, allocations: 1.52 MB / 0.6869 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4122, allocations: 16 kB / 0.6869 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.4122, allocations: 16.91 kB / 0.6869 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/0.4123, allocations: 24 kB / 0.6869 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.4149, allocations: 0.5031 MB / 0.6874 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.4165, allocations: 1.863 MB / 0.6892 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/0.4174, allocations: 166.8 kB / 0.6894 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.4176, allocations: 91.91 kB / 0.6895 GB, free: 12.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000565/0.4181, allocations: 353.5 kB / 0.6898 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.4185, allocations: 159.1 kB / 0.69 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.4226, allocations: 2.417 MB / 0.6923 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.4226, allocations: 19.98 kB / 0.6923 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4226, allocations: 3.938 kB / 0.6923 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.4227, allocations: 11.91 kB / 0.6924 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.4279, allocations: 3.89 MB / 0.6962 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.428, allocations: 8 kB / 0.6962 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.4286, allocations: 219.6 kB / 0.6964 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000823/0.4295, allocations: 186.8 kB / 0.6966 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.4296, allocations: 47.97 kB / 0.6966 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.431, allocations: 1.68 MB / 0.6982 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.4311, allocations: 11.94 kB / 0.6983 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.4338, allocations: 1.714 MB / 0.6999 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.4342, allocations: 271.6 kB / 0.7002 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.4344, allocations: 32 kB / 0.7002 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.4353, allocations: 51.97 kB / 0.7003 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.4355, allocations: 116.7 kB / 0.7004 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.4356, allocations: 87.92 kB / 0.7005 GB, free: 384 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001134/0.4368, allocations: 0.8723 MB / 0.7013 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4368, allocations: 4 kB / 0.7013 GB, free: 15.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002248/0.439, allocations: 0.892 MB / 0.7022 GB, free: 14.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004584/0.4436, allocations: 3.015 MB / 0.7051 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00411/0.4477, allocations: 1.373 MB / 0.7065 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.4477, allocations: 4.656 kB / 0.7065 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.4491, allocations: 0.6161 MB / 0.7071 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/0.4531, allocations: 0.9655 MB / 0.708 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.4698, allocations: 12.13 MB / 0.7199 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/0.4706, allocations: 1.281 MB / 0.7211 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001591/0.4722, allocations: 0.4944 MB / 0.7216 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000836/0.473, allocations: 0.6672 MB / 0.7223 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.473, allocations: 0 / 0.7223 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2711/0.7441, allocations: 60.62 MB / 0.7815 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.22, allocations: 0 / 0.7815 GB, free: 122.7 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.872525276005035]