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.001413/0.001413, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001403/0.001403, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.424/1.424, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2287/0.2287, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.00227/0.00227, allocations: 87.84 kB / 0.4912 GB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 65.98 MB / 0.5557 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5057/0.6362, allocations: 186.6 MB / 0.7379 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005699/0.6419, allocations: 3.267 MB / 0.7411 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000587/0.6425, allocations: 19.88 kB / 0.7411 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.6435, allocations: 329.8 kB / 0.7414 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.6472, allocations: 1.414 MB / 0.7428 GB, free: 2.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.6492, allocations: 0.7338 MB / 0.7435 GB, free: 1.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.6513, allocations: 1.551 MB / 0.745 GB, free: 84 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.6519, allocations: 383.8 kB / 0.7454 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009184/0.6529, allocations: 0.6033 MB / 0.746 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.6534, allocations: 478.1 kB / 0.7464 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.6535, allocations: 52 kB / 0.7465 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.6558, allocations: 1.217 MB / 0.7477 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.656, allocations: 163.4 kB / 0.7478 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.6564, allocations: 346.5 kB / 0.7482 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.6585, allocations: 1.511 MB / 0.7496 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6585, allocations: 4 kB / 0.7496 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6585, allocations: 0 / 0.7496 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.6586, allocations: 0 / 0.7496 GB, free: 11.34 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.001926/0.6605, allocations: 1.078 MB / 0.7507 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.6605, allocations: 8.031 kB / 0.7507 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.6606, allocations: 78.53 kB / 0.7508 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.6616, allocations: 151.5 kB / 0.7509 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/0.6625, allocations: 496.8 kB / 0.7514 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.6626, allocations: 37 kB / 0.7514 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.6626, allocations: 39.94 kB / 0.7515 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6637, allocations: 0.5984 MB / 0.7521 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.6637, allocations: 3.938 kB / 0.7521 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.6638, allocations: 27.98 kB / 0.7521 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6638, allocations: 8 kB / 0.7521 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.6648, allocations: 479.6 kB / 0.7526 GB, free: 8.219 MB / 0.5606 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.00327/0.668, allocations: 2.672 MB / 0.7552 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.6688, allocations: 331.5 kB / 0.7555 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.6691, allocations: 157.3 kB / 0.7556 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.6695, allocations: 433.8 kB / 0.756 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.6696, allocations: 46.77 kB / 0.7561 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.6696, allocations: 0 / 0.7561 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001791/0.6714, allocations: 0.7384 MB / 0.7568 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.6715, allocations: 132.5 kB / 0.7569 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.6721, allocations: 498 kB / 0.7574 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.6721, allocations: 33.7 kB / 0.7574 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.6724, allocations: 288.3 kB / 0.7577 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6725, allocations: 119 kB / 0.7578 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.6727, allocations: 102.1 kB / 0.7579 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6729, allocations: 358.8 kB / 0.7583 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.6732, allocations: 152.8 kB / 0.7584 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.6736, allocations: 279.7 kB / 0.7587 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.6744, allocations: 449.6 kB / 0.7591 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6744, allocations: 0 / 0.7591 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00102/0.6754, allocations: 0.5426 MB / 0.7596 GB, free: 436 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6755, allocations: 11.94 kB / 0.7597 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6755, allocations: 4 kB / 0.7597 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.677, allocations: 241 kB / 0.7599 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.6773, allocations: 103.9 kB / 0.76 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005729/0.6779, allocations: 0.5993 MB / 0.7606 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.6782, allocations: 51.61 kB / 0.7606 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.6783, allocations: 47.98 kB / 0.7607 GB, free: 15.34 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.0002685/0.6786, allocations: 189.6 kB / 0.7608 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.6787, allocations: 55.67 kB / 0.7609 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.6806, allocations: 1.087 MB / 0.762 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6806, allocations: 4 kB / 0.762 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6806, allocations: 5.125 kB / 0.762 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6806, allocations: 0 / 0.762 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.6822, allocations: 1.034 MB / 0.763 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.6822, allocations: 0 / 0.763 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.6824, allocations: 51.91 kB / 0.763 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.6855, allocations: 444.3 kB / 0.7635 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.6856, allocations: 16.86 kB / 0.7635 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005046/0.6861, allocations: 0.607 MB / 0.7641 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6861, allocations: 4.031 kB / 0.7641 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008762/0.687, allocations: 0.515 MB / 0.7646 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.6871, allocations: 148.6 kB / 0.7647 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/0.6872, allocations: 11.94 kB / 0.7647 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.6875, allocations: 15.98 kB / 0.7647 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.6876, allocations: 31.91 kB / 0.7648 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.6876, allocations: 19.98 kB / 0.7648 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005501/0.6882, allocations: 422.8 kB / 0.7652 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6882, allocations: 0 / 0.7652 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008907/0.6891, allocations: 287.3 kB / 0.7655 GB, free: 10.25 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.001881/0.6909, allocations: 1.332 MB / 0.7668 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009516/0.6919, allocations: 371.7 kB / 0.7671 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6919, allocations: 0 / 0.7671 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.6923, allocations: 151.8 kB / 0.7673 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.6938, allocations: 375 kB / 0.7676 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.7007, allocations: 4.913 MB / 0.7724 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.7012, allocations: 0.8596 MB / 0.7733 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001053/0.7022, allocations: 0.557 MB / 0.7738 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.7026, allocations: 227.3 kB / 0.774 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.7026, allocations: 4 kB / 0.774 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/0.7532, allocations: 21.78 MB / 0.7953 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.86, allocations: 16.75 kB / 0.7953 GB, free: 11.7 MB / 0.6075 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.801921784877777] 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.964300776366144 13.990716925 13.327306205 Calling exit ...