Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001614/0.001614, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001918/0.001918, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2155/0.2155, allocations: 44.94 MB / 359.6 MB, free: 6.027 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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.001966/0.001966, allocations: 69.3 kB / 0.4938 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 65.46 MB / 0.5577 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1938/0.4883, allocations: 161.6 MB / 0.7155 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005629/0.4939, allocations: 3.016 MB / 0.7185 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.4945, allocations: 31.75 kB / 0.7185 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.4955, allocations: 317.9 kB / 0.7188 GB, free: 1.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.4994, allocations: 1.423 MB / 0.7202 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.5016, allocations: 0.752 MB / 0.7209 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002858/0.5044, allocations: 1.582 MB / 0.7225 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.5051, allocations: 367.8 kB / 0.7228 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.5063, allocations: 0.6111 MB / 0.7234 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009114/0.5072, allocations: 482.1 kB / 0.7239 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.5073, allocations: 52 kB / 0.724 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.5096, allocations: 0.9361 MB / 0.7249 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.5098, allocations: 171.3 kB / 0.725 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.5103, allocations: 290.8 kB / 0.7253 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.5128, allocations: 1.449 MB / 0.7267 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5128, allocations: 0 / 0.7267 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5128, allocations: 0 / 0.7267 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.5128, allocations: 0 / 0.7267 GB, free: 9.848 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.002062/0.5149, allocations: 1.002 MB / 0.7277 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5149, allocations: 12.03 kB / 0.7277 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.465e-05/0.5149, allocations: 9 kB / 0.7277 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5151, allocations: 90.52 kB / 0.7278 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5161, allocations: 139.5 kB / 0.7279 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/0.5169, allocations: 445.5 kB / 0.7284 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.517, allocations: 29 kB / 0.7284 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.517, allocations: 48 kB / 0.7284 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5184, allocations: 0.8996 MB / 0.7293 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5185, allocations: 0 / 0.7293 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.5185, allocations: 20 kB / 0.7293 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5185, allocations: 8 kB / 0.7293 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.5195, allocations: 483.6 kB / 0.7298 GB, free: 6.504 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.00309/0.5226, allocations: 1.977 MB / 0.7317 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.5234, allocations: 335.3 kB / 0.7321 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.5238, allocations: 157.3 kB / 0.7322 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.524, allocations: 48.23 kB / 0.7322 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.5241, allocations: 42.78 kB / 0.7323 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.5241, allocations: 0 / 0.7323 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001841/0.5259, allocations: 0.6593 MB / 0.7329 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.526, allocations: 132.5 kB / 0.7331 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.5266, allocations: 0.4942 MB / 0.7335 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.5267, allocations: 29.7 kB / 0.7336 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.5269, allocations: 284.2 kB / 0.7338 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5271, allocations: 127 kB / 0.734 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.5272, allocations: 102.1 kB / 0.7341 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5274, allocations: 362.8 kB / 0.7344 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.5278, allocations: 152.8 kB / 0.7346 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.5283, allocations: 364.8 kB / 0.7349 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.5291, allocations: 437.6 kB / 0.7353 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5291, allocations: 0 / 0.7353 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001124/0.5302, allocations: 0.5523 MB / 0.7359 GB, free: 0 / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.2198/0.75, allocations: 3.797 kB / 0.7359 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.75, allocations: 3.312 kB / 0.7359 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.7519, allocations: 242.1 kB / 0.7361 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.7524, allocations: 102.8 kB / 0.7362 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004851/0.7529, allocations: 0.6009 MB / 0.7368 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.7533, allocations: 48.44 kB / 0.7368 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7534, allocations: 49.47 kB / 0.7369 GB, free: 178.5 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 (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.0003055/0.7537, allocations: 186.5 kB / 0.7371 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.7539, allocations: 59.33 kB / 0.7371 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.7561, allocations: 1.091 MB / 0.7382 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.7561, allocations: 3.344 kB / 0.7382 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.7561, allocations: 1.25 kB / 0.7382 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7561, allocations: 1.938 kB / 0.7382 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.7576, allocations: 0.9403 MB / 0.7391 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7576, allocations: 3.875 kB / 0.7391 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.7578, allocations: 52.25 kB / 0.7392 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/0.7608, allocations: 448.1 kB / 0.7396 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.7608, allocations: 15.05 kB / 0.7396 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002897/0.7611, allocations: 0.6075 MB / 0.7402 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7611, allocations: 3.188 kB / 0.7402 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.7618, allocations: 0.5104 MB / 0.7407 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7619, allocations: 64.95 kB / 0.7407 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.762, allocations: 17.56 kB / 0.7408 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.7623, allocations: 15.12 kB / 0.7408 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.7624, allocations: 34.05 kB / 0.7408 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.7624, allocations: 18.83 kB / 0.7408 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004238/0.7629, allocations: 422.6 kB / 0.7412 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7629, allocations: 0 / 0.7412 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007991/0.7637, allocations: 285.7 kB / 0.7415 GB, free: 176.4 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 (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.001344/0.765, allocations: 1.315 MB / 0.7428 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007693/0.7658, allocations: 364.2 kB / 0.7431 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7658, allocations: 11.84 kB / 0.7431 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.7661, allocations: 158.5 kB / 0.7433 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.7675, allocations: 358.7 kB / 0.7436 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.7726, allocations: 4.937 MB / 0.7485 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.7727, allocations: 259.5 kB / 0.7487 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008303/0.7736, allocations: 0.5601 MB / 0.7493 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.7739, allocations: 231.3 kB / 0.7495 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.7739, allocations: 0 / 0.7495 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.8138, allocations: 23.05 MB / 0.772 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.36, allocations: 7.922 kB / 0.772 GB, free: 145.7 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.457440358004533] 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'] 15.544466828927398 15.56338656 15.046760717 Calling exit ...