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.001534/0.001534, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002493/0.002493, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2278/0.2278, allocations: 44.91 MB / 359.6 MB, free: 6.305 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.002083/0.002083, allocations: 59.91 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2979, allocations: 65.47 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.516/0.8139, allocations: 186.9 MB / 0.7403 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004678/0.8186, allocations: 3.288 MB / 0.7435 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.8192, allocations: 26.69 kB / 0.7435 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008291/0.82, allocations: 324.6 kB / 0.7438 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.8234, allocations: 1.435 MB / 0.7452 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.825, allocations: 0.7442 MB / 0.746 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.8268, allocations: 1.58 MB / 0.7475 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005561/0.8274, allocations: 358.5 kB / 0.7478 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009149/0.8283, allocations: 0.6101 MB / 0.7484 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.8289, allocations: 487.8 kB / 0.7489 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.829, allocations: 55.88 kB / 0.749 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.8312, allocations: 1.232 MB / 0.7502 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.8314, allocations: 162.8 kB / 0.7503 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.8317, allocations: 347.3 kB / 0.7506 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.8341, allocations: 1.51 MB / 0.7521 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8341, allocations: 0 / 0.7521 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8341, allocations: 0.875 kB / 0.7521 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.8341, allocations: 0 / 0.7521 GB, free: 1.66 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.001836/0.8359, allocations: 1.007 MB / 0.7531 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.836, allocations: 7.75 kB / 0.7531 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.836, allocations: 15.12 kB / 0.7531 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.853e-05/0.8361, allocations: 86.61 kB / 0.7532 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009797/0.8371, allocations: 139.1 kB / 0.7533 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/0.8379, allocations: 454.6 kB / 0.7538 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.8379, allocations: 31.91 kB / 0.7538 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.8379, allocations: 37.91 kB / 0.7538 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.839, allocations: 0.594 MB / 0.7544 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.839, allocations: 3.031 kB / 0.7544 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.839, allocations: 19.53 kB / 0.7544 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.839, allocations: 12.25 kB / 0.7545 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000844/0.8399, allocations: 490 kB / 0.7549 GB, free: 16.71 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.003123/0.843, allocations: 2.637 MB / 0.7575 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.8437, allocations: 324.7 kB / 0.7578 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.844, allocations: 155.8 kB / 0.758 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.8442, allocations: 55.44 kB / 0.758 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.8442, allocations: 41.66 kB / 0.758 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.8442, allocations: 2.625 kB / 0.7581 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001704/0.846, allocations: 0.659 MB / 0.7587 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.8461, allocations: 135 kB / 0.7588 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.8466, allocations: 0.4889 MB / 0.7593 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.8467, allocations: 33.39 kB / 0.7593 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.8469, allocations: 288 kB / 0.7596 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.847, allocations: 122.4 kB / 0.7597 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.8471, allocations: 100.6 kB / 0.7598 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8473, allocations: 369.1 kB / 0.7602 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.8476, allocations: 148.6 kB / 0.7603 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.848, allocations: 291.5 kB / 0.7606 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.8486, allocations: 441.3 kB / 0.761 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8486, allocations: 1.844 kB / 0.761 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001049/0.8497, allocations: 0.5426 MB / 0.7615 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8497, allocations: 8.219 kB / 0.7616 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8497, allocations: 2.844 kB / 0.7616 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.8513, allocations: 238.1 kB / 0.7618 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.8516, allocations: 104.7 kB / 0.7619 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005209/0.8521, allocations: 0.6025 MB / 0.7625 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.8525, allocations: 57.05 kB / 0.7625 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/0.8526, allocations: 45.69 kB / 0.7626 GB, free: 13.02 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.0003107/0.8529, allocations: 184.5 kB / 0.7627 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.8531, allocations: 55.55 kB / 0.7628 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.8549, allocations: 1.093 MB / 0.7639 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.8549, allocations: 8.281 kB / 0.7639 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8549, allocations: 0 / 0.7639 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8549, allocations: 0 / 0.7639 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.8564, allocations: 1.004 MB / 0.7649 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8564, allocations: 1.812 kB / 0.7649 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.8566, allocations: 53.41 kB / 0.7649 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/0.8597, allocations: 447.1 kB / 0.7653 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.8597, allocations: 8.25 kB / 0.7653 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005049/0.8602, allocations: 0.6195 MB / 0.7659 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8602, allocations: 0 / 0.7659 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.861, allocations: 0.5103 MB / 0.7664 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.8611, allocations: 60.52 kB / 0.7665 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.8613, allocations: 11.44 kB / 0.7665 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.8616, allocations: 27.84 kB / 0.7665 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.8617, allocations: 25.91 kB / 0.7666 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.8617, allocations: 14.12 kB / 0.7666 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004832/0.8622, allocations: 424.6 kB / 0.767 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8622, allocations: 1.094 kB / 0.767 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008619/0.863, allocations: 288.5 kB / 0.7673 GB, free: 11.47 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.001796/0.8648, allocations: 1.317 MB / 0.7685 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007826/0.8656, allocations: 366.2 kB / 0.7689 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8656, allocations: 0.9375 kB / 0.7689 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.866, allocations: 161.9 kB / 0.7691 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.8676, allocations: 369 kB / 0.7694 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.8741, allocations: 4.936 MB / 0.7742 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.8745, allocations: 0.8605 MB / 0.7751 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000956/0.8755, allocations: 0.565 MB / 0.7756 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.8759, allocations: 228.9 kB / 0.7758 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.8759, allocations: 0.9375 kB / 0.7758 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/0.9242, allocations: 22 MB / 0.7973 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.2, allocations: 18.45 kB / 0.7973 GB, free: 1.465 MB / 0.5762 GB " [Timeout remaining time 645] (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.514276879024692] 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.387503746023867 15.408404091 14.570006985 Calling exit ...