Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.89 kB / 0.4886 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1149, allocations: 65.42 MB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.48/0.5949, allocations: 186.4 MB / 0.7345 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.5992, allocations: 2.127 MB / 0.7365 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005015/0.5997, allocations: 27.75 kB / 0.7366 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009466/0.6007, allocations: 298 kB / 0.7369 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.6042, allocations: 1.196 MB / 0.738 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.6061, allocations: 0.6707 MB / 0.7387 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.608, allocations: 1.477 MB / 0.7401 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006304/0.6087, allocations: 391.7 kB / 0.7405 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009728/0.6096, allocations: 0.5839 MB / 0.7411 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.6102, allocations: 470 kB / 0.7415 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.6103, allocations: 48 kB / 0.7416 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.612, allocations: 0.8074 MB / 0.7423 GB, free: 4.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.6121, allocations: 147.5 kB / 0.7425 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.6125, allocations: 330.5 kB / 0.7428 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.6142, allocations: 1.219 MB / 0.744 GB, free: 2.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6142, allocations: 0 / 0.744 GB, free: 2.914 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6142, allocations: 0 / 0.744 GB, free: 2.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.6142, allocations: 0 / 0.744 GB, free: 2.914 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0019/0.6161, allocations: 1.008 MB / 0.745 GB, free: 1.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6162, allocations: 12.03 kB / 0.745 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.117e-05/0.6162, allocations: 17 kB / 0.745 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.6163, allocations: 78.53 kB / 0.7451 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.6173, allocations: 135.5 kB / 0.7452 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.6181, allocations: 464.9 kB / 0.7457 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.6181, allocations: 33 kB / 0.7457 GB, free: 1.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.6182, allocations: 40 kB / 0.7457 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.6193, allocations: 0.5515 MB / 0.7463 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6193, allocations: 0 / 0.7463 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.6193, allocations: 16 kB / 0.7463 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.6193, allocations: 12 kB / 0.7463 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.6202, allocations: 415.6 kB / 0.7467 GB, free: 20 kB / 0.545 GB 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.003102/0.6233, allocations: 2.577 MB / 0.7492 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.624, allocations: 270.7 kB / 0.7495 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.6243, allocations: 137 kB / 0.7496 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.6247, allocations: 360.3 kB / 0.7499 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6247, allocations: 34.56 kB / 0.75 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.764e-06/0.6247, allocations: 4 kB / 0.75 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002528/0.6273, allocations: 0.6981 MB / 0.7507 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.6274, allocations: 132.5 kB / 0.7508 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.6279, allocations: 449.9 kB / 0.7512 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.628, allocations: 29.7 kB / 0.7512 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.6282, allocations: 280.2 kB / 0.7515 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.6283, allocations: 119 kB / 0.7516 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.6285, allocations: 97.66 kB / 0.7517 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6287, allocations: 362.8 kB / 0.7521 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.6291, allocations: 139.9 kB / 0.7522 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.6297, allocations: 275.2 kB / 0.7525 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.6306, allocations: 429.5 kB / 0.7529 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6306, allocations: 3.938 kB / 0.7529 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001347/0.6319, allocations: 0.5251 MB / 0.7534 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.632, allocations: 11.94 kB / 0.7534 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.632, allocations: 4 kB / 0.7534 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.6341, allocations: 272.9 kB / 0.7537 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.6346, allocations: 103.9 kB / 0.7538 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009773/0.6355, allocations: 0.603 MB / 0.7543 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.636, allocations: 47.72 kB / 0.7544 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.636, allocations: 46.55 kB / 0.7544 GB, free: 7.543 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.6363, allocations: 179.8 kB / 0.7546 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.6365, allocations: 59.67 kB / 0.7547 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.6387, allocations: 1.017 MB / 0.7557 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6387, allocations: 7.938 kB / 0.7557 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6387, allocations: 0 / 0.7557 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.6387, allocations: 7.922 kB / 0.7557 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.6405, allocations: 0.9648 MB / 0.7566 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6405, allocations: 4 kB / 0.7566 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.6408, allocations: 47.91 kB / 0.7567 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001852/0.6426, allocations: 268.6 kB / 0.7569 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.6427, allocations: 11.98 kB / 0.7569 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.6437, allocations: 0.5953 MB / 0.7575 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6437, allocations: 2.5 kB / 0.7575 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.6451, allocations: 0.5184 MB / 0.758 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.6453, allocations: 136.7 kB / 0.7581 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.6454, allocations: 15.98 kB / 0.7582 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.6458, allocations: 15.98 kB / 0.7582 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.6459, allocations: 27.84 kB / 0.7582 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.6459, allocations: 23.97 kB / 0.7582 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005333/0.6464, allocations: 386.8 kB / 0.7586 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6464, allocations: 0 / 0.7586 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008537/0.6473, allocations: 219.6 kB / 0.7588 GB, free: 2.879 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002336/0.6496, allocations: 1.221 MB / 0.76 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.651, allocations: 348.4 kB / 0.7603 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6511, allocations: 7.938 kB / 0.7603 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.6518, allocations: 167.7 kB / 0.7605 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.6537, allocations: 341.8 kB / 0.7608 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/0.6628, allocations: 4.71 MB / 0.7654 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.6635, allocations: 0.8433 MB / 0.7662 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001119/0.6646, allocations: 0.5436 MB / 0.7668 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.6651, allocations: 219.3 kB / 0.767 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.6651, allocations: 0 / 0.767 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/0.7143, allocations: 19.59 MB / 0.7861 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.28, allocations: 11.98 kB / 0.7861 GB, free: 6.945 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.434474862006027] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 14.45461451204028 14.478095948 13.859491412 Calling exit ...