Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001483/0.001483, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00172/0.00172, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.425/1.425, allocations: 230.5 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.95 MB / 361.6 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 75.89 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3363, allocations: 66.08 MB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1937/0.53, allocations: 161.6 MB / 0.7192 GB, free: 1.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005151/0.5352, allocations: 3.024 MB / 0.7222 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.5357, allocations: 23.81 kB / 0.7222 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.5365, allocations: 309.9 kB / 0.7225 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.54, allocations: 1.442 MB / 0.7239 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.5417, allocations: 0.7393 MB / 0.7246 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001943/0.5437, allocations: 1.582 MB / 0.7262 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.5442, allocations: 367.8 kB / 0.7265 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009818/0.5452, allocations: 0.6112 MB / 0.7271 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006688/0.5458, allocations: 486 kB / 0.7276 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.671e-05/0.5459, allocations: 52 kB / 0.7277 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.548, allocations: 0.9438 MB / 0.7286 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.5482, allocations: 167.3 kB / 0.7287 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.5486, allocations: 290.8 kB / 0.729 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.5507, allocations: 1.449 MB / 0.7304 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5507, allocations: 4 kB / 0.7304 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5507, allocations: 0 / 0.7304 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.5507, allocations: 0 / 0.7304 GB, free: 6.332 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.001865/0.5526, allocations: 1.002 MB / 0.7314 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5526, allocations: 8.031 kB / 0.7314 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.317e-05/0.5526, allocations: 13 kB / 0.7314 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.5528, allocations: 86.52 kB / 0.7315 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5538, allocations: 143.5 kB / 0.7317 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.5546, allocations: 441.5 kB / 0.7321 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.5547, allocations: 29 kB / 0.7321 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.5547, allocations: 40 kB / 0.7321 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.5561, allocations: 0.8958 MB / 0.733 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5561, allocations: 3.938 kB / 0.733 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.5561, allocations: 16 kB / 0.733 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.5561, allocations: 12 kB / 0.733 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009855/0.5571, allocations: 491.6 kB / 0.7335 GB, free: 2.996 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.002927/0.5601, allocations: 1.966 MB / 0.7354 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.5608, allocations: 337.2 kB / 0.7358 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.5611, allocations: 161.4 kB / 0.7359 GB, free: 468 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.5614, allocations: 44.25 kB / 0.7359 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.5614, allocations: 42.78 kB / 0.736 GB, free: 372 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.5614, allocations: 0 / 0.736 GB, free: 372 kB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.2232/0.7846, allocations: 0.6535 MB / 0.7366 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.7846, allocations: 136.4 kB / 0.7368 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008138/0.7854, allocations: 0.4893 MB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.7855, allocations: 31.86 kB / 0.7373 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.7857, allocations: 293.2 kB / 0.7375 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-05/0.7858, allocations: 120.3 kB / 0.7377 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.786, allocations: 105 kB / 0.7378 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.7861, allocations: 358.8 kB / 0.7381 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.7865, allocations: 150.5 kB / 0.7382 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.7869, allocations: 360.7 kB / 0.7386 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.7877, allocations: 451.7 kB / 0.739 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7877, allocations: 1.031 kB / 0.739 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001045/0.7887, allocations: 0.548 MB / 0.7396 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7888, allocations: 7.344 kB / 0.7396 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.7888, allocations: 7.062 kB / 0.7396 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.7903, allocations: 242 kB / 0.7398 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.7906, allocations: 112 kB / 0.7399 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003173/0.7909, allocations: 0.5954 MB / 0.7405 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.7912, allocations: 59.02 kB / 0.7405 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.7913, allocations: 46.17 kB / 0.7406 GB, free: 174 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.0002029/0.7915, allocations: 184.4 kB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.7916, allocations: 56.12 kB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.7933, allocations: 1.087 MB / 0.7419 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7933, allocations: 9.812 kB / 0.7419 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7933, allocations: 1.875 kB / 0.7419 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7933, allocations: 3.609 kB / 0.7419 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.7944, allocations: 0.9354 MB / 0.7428 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7944, allocations: 0 / 0.7428 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.7945, allocations: 54.3 kB / 0.7429 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.7976, allocations: 447.5 kB / 0.7433 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.7976, allocations: 8 kB / 0.7433 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002692/0.7979, allocations: 0.6119 MB / 0.7439 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7979, allocations: 4.031 kB / 0.7439 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.7985, allocations: 0.5115 MB / 0.7444 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.7985, allocations: 65.8 kB / 0.7445 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.7986, allocations: 13.95 kB / 0.7445 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.7989, allocations: 16.8 kB / 0.7445 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.799, allocations: 31.89 kB / 0.7445 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.799, allocations: 21.05 kB / 0.7445 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003576/0.7994, allocations: 422.8 kB / 0.7449 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7994, allocations: 0 / 0.7449 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006814/0.8001, allocations: 292.8 kB / 0.7452 GB, free: 170.5 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.001296/0.8014, allocations: 1.312 MB / 0.7465 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006984/0.8021, allocations: 370.8 kB / 0.7469 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8021, allocations: 4 kB / 0.7469 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.8024, allocations: 151.8 kB / 0.747 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.8038, allocations: 366 kB / 0.7474 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.8088, allocations: 4.932 MB / 0.7522 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.809, allocations: 259.5 kB / 0.7524 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008382/0.8098, allocations: 0.5569 MB / 0.753 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.8102, allocations: 235.3 kB / 0.7532 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.8102, allocations: 0 / 0.7532 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.8504, allocations: 23.03 MB / 0.7757 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.27, allocations: 8 kB / 0.7757 GB, free: 139.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.27968905994203] 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.465469653019682 14.475262105 13.922369932 Calling exit ...