Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001445/0.001445, allocations: 109.1 kB / 21.22 MB, free: 0.5078 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.002553/0.002553, allocations: 211.8 kB / 24.51 MB, free: 3.684 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 46.97 MB / 361.7 MB, free: 4.031 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+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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.83 kB / 0.4969 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2083/0.5344, allocations: 161.6 MB / 0.7192 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006597/0.541, allocations: 3.386 MB / 0.7225 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007189/0.5418, allocations: 27.75 kB / 0.7225 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.5428, allocations: 302 kB / 0.7228 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.5478, allocations: 1.763 MB / 0.7245 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.5498, allocations: 0.7201 MB / 0.7252 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002274/0.5521, allocations: 1.548 MB / 0.7267 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007051/0.5528, allocations: 355.8 kB / 0.7271 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.554, allocations: 0.5995 MB / 0.7276 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008687/0.5549, allocations: 486 kB / 0.7281 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.555, allocations: 48 kB / 0.7282 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.5583, allocations: 1.19 MB / 0.7293 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.5586, allocations: 163.4 kB / 0.7295 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000547/0.5591, allocations: 298.8 kB / 0.7298 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.5625, allocations: 1.628 MB / 0.7313 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5625, allocations: 0 / 0.7313 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5625, allocations: 0 / 0.7313 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.5626, allocations: 0 / 0.7313 GB, free: 5.52 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.002645/0.5652, allocations: 1.037 MB / 0.7324 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001338/0.5653, allocations: 11.97 kB / 0.7324 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.418e-05/0.5654, allocations: 13 kB / 0.7324 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.5655, allocations: 82.53 kB / 0.7325 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.5666, allocations: 143.4 kB / 0.7326 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/0.5675, allocations: 421.6 kB / 0.733 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.5676, allocations: 33 kB / 0.733 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.5677, allocations: 40 kB / 0.7331 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.5691, allocations: 0.8918 MB / 0.7339 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5691, allocations: 0 / 0.7339 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.5692, allocations: 20 kB / 0.734 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5692, allocations: 8 kB / 0.734 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.5703, allocations: 479.6 kB / 0.7344 GB, free: 2.184 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.003179/0.5735, allocations: 1.946 MB / 0.7363 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2575/0.831, allocations: 318.5 kB / 0.7366 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.8314, allocations: 158.2 kB / 0.7368 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.8317, allocations: 49.89 kB / 0.7368 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.8317, allocations: 42.12 kB / 0.7369 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.8317, allocations: 0.5625 kB / 0.7369 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002153/0.8339, allocations: 0.6405 MB / 0.7375 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.8339, allocations: 133.3 kB / 0.7376 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.8347, allocations: 471.4 kB / 0.7381 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.8347, allocations: 32.33 kB / 0.7381 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.8349, allocations: 278.3 kB / 0.7384 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.835, allocations: 125.8 kB / 0.7385 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.8352, allocations: 106.5 kB / 0.7386 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.8353, allocations: 356.7 kB / 0.7389 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.8357, allocations: 149.4 kB / 0.7391 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.8361, allocations: 361.5 kB / 0.7394 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.8368, allocations: 436.5 kB / 0.7398 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8368, allocations: 1.25 kB / 0.7398 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001046/0.8378, allocations: 0.5458 MB / 0.7404 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.8379, allocations: 6.156 kB / 0.7404 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8379, allocations: 4.766 kB / 0.7404 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.8395, allocations: 241.5 kB / 0.7406 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.8399, allocations: 99.81 kB / 0.7407 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003772/0.8402, allocations: 0.5912 MB / 0.7413 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.8406, allocations: 55.08 kB / 0.7413 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.8407, allocations: 47.81 kB / 0.7414 GB, free: 173.8 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.0002731/0.841, allocations: 182.7 kB / 0.7416 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.8411, allocations: 53.42 kB / 0.7416 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.8428, allocations: 1.093 MB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8428, allocations: 4 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8428, allocations: 1.719 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.8428, allocations: 0 / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.8441, allocations: 0.9157 MB / 0.7436 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.8441, allocations: 4 kB / 0.7436 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.8443, allocations: 53.03 kB / 0.7436 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/0.8474, allocations: 438.2 kB / 0.744 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.8475, allocations: 10.41 kB / 0.7441 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003458/0.8478, allocations: 0.6147 MB / 0.7447 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8478, allocations: 0 / 0.7447 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.8486, allocations: 0.4977 MB / 0.7451 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.8487, allocations: 68.03 kB / 0.7452 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.8488, allocations: 25.19 kB / 0.7452 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.8492, allocations: 16.7 kB / 0.7452 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.8492, allocations: 25.72 kB / 0.7453 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.8493, allocations: 15.98 kB / 0.7453 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003991/0.8497, allocations: 406.8 kB / 0.7457 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8497, allocations: 0 / 0.7457 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009183/0.8506, allocations: 338.7 kB / 0.746 GB, free: 169.9 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.001706/0.8523, allocations: 1.375 MB / 0.7473 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008534/0.8531, allocations: 356.6 kB / 0.7477 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8531, allocations: 0 / 0.7477 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.8535, allocations: 160.9 kB / 0.7478 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.8551, allocations: 377 kB / 0.7482 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/0.8609, allocations: 4.814 MB / 0.7529 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.8611, allocations: 251.3 kB / 0.7531 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009373/0.862, allocations: 0.5519 MB / 0.7537 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.8623, allocations: 227.3 kB / 0.7539 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.8623, allocations: 0 / 0.7539 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04794/0.9103, allocations: 24.58 MB / 0.7779 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.51, allocations: 11.8 kB / 0.7779 GB, free: 137.5 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.696016832021996] 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.698906511068344 15.718756223 15.151890068 Calling exit ...