Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001804/0.001804, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002371/0.002371, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.2295/0.2295, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.00241/0.00241, allocations: 80.14 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3565, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5918/0.9483, allocations: 186.9 MB / 0.744 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.9529, allocations: 3.286 MB / 0.7472 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005985/0.9535, allocations: 23.62 kB / 0.7472 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00078/0.9542, allocations: 326 kB / 0.7475 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.9575, allocations: 1.437 MB / 0.749 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.9592, allocations: 0.7475 MB / 0.7497 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.9609, allocations: 1.577 MB / 0.7512 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.9613, allocations: 364.9 kB / 0.7516 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007876/0.9621, allocations: 0.5988 MB / 0.7522 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005658/0.9627, allocations: 487.6 kB / 0.7526 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.9628, allocations: 52.5 kB / 0.7527 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.965, allocations: 1.228 MB / 0.7539 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.9652, allocations: 171.5 kB / 0.754 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.9655, allocations: 349 kB / 0.7544 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.9674, allocations: 1.51 MB / 0.7558 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9675, allocations: 6.469 kB / 0.7558 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9675, allocations: 1.125 kB / 0.7558 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.9675, allocations: 2.844 kB / 0.7558 GB, free: 1.574 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001821/0.9693, allocations: 0.9992 MB / 0.7568 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.9693, allocations: 10.94 kB / 0.7568 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.777e-05/0.9694, allocations: 81.44 kB / 0.7569 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009561/0.9704, allocations: 152.8 kB / 0.7571 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.9711, allocations: 438.6 kB / 0.7575 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.9712, allocations: 31.44 kB / 0.7575 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.9712, allocations: 42.19 kB / 0.7575 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.9722, allocations: 0.5963 MB / 0.7581 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.9722, allocations: 2.406 kB / 0.7581 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.9722, allocations: 20.22 kB / 0.7582 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.9722, allocations: 12.38 kB / 0.7582 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/0.973, allocations: 485.6 kB / 0.7586 GB, free: 16.61 MB / 0.5762 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.002929/0.976, allocations: 2.64 MB / 0.7612 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.9766, allocations: 323.4 kB / 0.7615 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.9769, allocations: 166 kB / 0.7617 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.9771, allocations: 51.7 kB / 0.7617 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.9772, allocations: 38.16 kB / 0.7618 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.185e-06/0.9772, allocations: 0.8125 kB / 0.7618 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001602/0.9788, allocations: 0.6627 MB / 0.7624 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.9789, allocations: 133.1 kB / 0.7625 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.9794, allocations: 496.2 kB / 0.763 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.9795, allocations: 35.77 kB / 0.763 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.9797, allocations: 286 kB / 0.7633 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.9797, allocations: 124.6 kB / 0.7634 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.9799, allocations: 103 kB / 0.7635 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9801, allocations: 364.9 kB / 0.7639 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.9804, allocations: 150.2 kB / 0.764 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.9807, allocations: 285.5 kB / 0.7643 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.9815, allocations: 440.7 kB / 0.7647 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9815, allocations: 0.8125 kB / 0.7647 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009843/0.9825, allocations: 0.5413 MB / 0.7652 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.9825, allocations: 10.86 kB / 0.7653 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.9825, allocations: 4.062 kB / 0.7653 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.984, allocations: 238.4 kB / 0.7655 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.9844, allocations: 109 kB / 0.7656 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005701/0.9849, allocations: 0.6012 MB / 0.7662 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.9853, allocations: 50.69 kB / 0.7662 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.9854, allocations: 47.61 kB / 0.7663 GB, free: 12.94 MB / 0.5762 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0003116/0.9857, allocations: 175.9 kB / 0.7664 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.9859, allocations: 62.86 kB / 0.7665 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.9878, allocations: 1.093 MB / 0.7676 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.9878, allocations: 3.125 kB / 0.7676 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9878, allocations: 3 kB / 0.7676 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9878, allocations: 0 / 0.7676 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.9892, allocations: 1.013 MB / 0.7686 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.9892, allocations: 2.125 kB / 0.7686 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.9894, allocations: 52.02 kB / 0.7686 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003045/0.9925, allocations: 444.3 kB / 0.769 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.9925, allocations: 9.062 kB / 0.769 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004808/0.993, allocations: 0.6141 MB / 0.7696 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.993, allocations: 3.656 kB / 0.7696 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.9938, allocations: 0.5053 MB / 0.7701 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.9939, allocations: 68.77 kB / 0.7702 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.994, allocations: 11.44 kB / 0.7702 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.9943, allocations: 19.58 kB / 0.7702 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.9944, allocations: 28.27 kB / 0.7703 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.9944, allocations: 17.28 kB / 0.7703 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004938/0.9949, allocations: 424.8 kB / 0.7707 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9949, allocations: 0 / 0.7707 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009707/0.9959, allocations: 287.8 kB / 0.771 GB, free: 11.38 MB / 0.5762 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/0.9978, allocations: 1.317 MB / 0.7722 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009237/0.9987, allocations: 367.4 kB / 0.7726 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9988, allocations: 4.344 kB / 0.7726 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.9991, allocations: 159.5 kB / 0.7728 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.001, allocations: 353.5 kB / 0.7731 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/1.007, allocations: 4.946 MB / 0.7779 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/1.008, allocations: 0.8588 MB / 0.7788 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001045/1.009, allocations: 0.5584 MB / 0.7793 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/1.009, allocations: 229.9 kB / 0.7795 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.009, allocations: 1.094 kB / 0.7795 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05285/1.062, allocations: 21.95 MB / 0.801 GB, free: 212 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.86, allocations: 6.906 kB / 0.801 GB, free: 208 kB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.756441796198487] 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'] 13.968657955992967 13.994603467 13.022249201 Calling exit ...