Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00157/0.00157, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.001873/0.001873, allocations: 211.9 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 231.2 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.339/0.339, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002492/0.002492, allocations: 75.89 kB / 462.9 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3056, allocations: 61 MB / 0.5117 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5284/0.834, allocations: 190.7 MB / 0.6978 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008254/0.8423, allocations: 5.731 MB / 0.7034 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009732/0.8432, allocations: 25.78 kB / 0.7035 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.8443, allocations: 325.1 kB / 0.7038 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.8494, allocations: 1.655 MB / 0.7054 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.8512, allocations: 0.7254 MB / 0.7061 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.8533, allocations: 1.552 MB / 0.7076 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006358/0.854, allocations: 373.8 kB / 0.708 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000871/0.8548, allocations: 0.6009 MB / 0.7086 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.8553, allocations: 490.3 kB / 0.709 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.8554, allocations: 50.91 kB / 0.7091 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.8583, allocations: 1.414 MB / 0.7105 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.8585, allocations: 162.6 kB / 0.7106 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.8589, allocations: 347.5 kB / 0.7109 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.862, allocations: 1.628 MB / 0.7125 GB, free: 244 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.862, allocations: 1.594 kB / 0.7125 GB, free: 244 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.862, allocations: 0.9375 kB / 0.7125 GB, free: 244 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.339e-05/0.862, allocations: 0 / 0.7125 GB, free: 244 kB / 0.4981 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.002269/0.8643, allocations: 1.118 MB / 0.7136 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.8643, allocations: 21.66 kB / 0.7136 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.455e-05/0.8643, allocations: 11.78 kB / 0.7137 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.8644, allocations: 81.66 kB / 0.7137 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.8655, allocations: 141.2 kB / 0.7139 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.8666, allocations: 0.4982 MB / 0.7144 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.8666, allocations: 33 kB / 0.7144 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.8667, allocations: 44.53 kB / 0.7144 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.8678, allocations: 0.5928 MB / 0.715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.8678, allocations: 2.812 kB / 0.715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/0.8679, allocations: 19.47 kB / 0.715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.8679, allocations: 11.06 kB / 0.715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.8688, allocations: 481.5 kB / 0.7155 GB, free: 15.09 MB / 0.5137 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.003637/0.8724, allocations: 2.694 MB / 0.7181 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/0.8733, allocations: 325.3 kB / 0.7184 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.8736, allocations: 154.7 kB / 0.7186 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.8752, allocations: 1.305 MB / 0.7199 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.396e-05/0.8753, allocations: 42.28 kB / 0.7199 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.995e-06/0.8753, allocations: 0 / 0.7199 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.001934/0.8772, allocations: 0.7239 MB / 0.7206 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8773, allocations: 137.1 kB / 0.7207 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.8779, allocations: 494.2 kB / 0.7212 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.878, allocations: 34.69 kB / 0.7212 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.8782, allocations: 287.6 kB / 0.7215 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.8784, allocations: 121.9 kB / 0.7216 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.8785, allocations: 98.48 kB / 0.7217 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.8787, allocations: 360.8 kB / 0.7221 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.8791, allocations: 150.1 kB / 0.7222 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.8795, allocations: 289.3 kB / 0.7225 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.8803, allocations: 435.8 kB / 0.7229 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8803, allocations: 7.25 kB / 0.7229 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001093/0.8814, allocations: 0.5412 MB / 0.7234 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.8814, allocations: 9.938 kB / 0.7235 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8814, allocations: 6.703 kB / 0.7235 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.883, allocations: 236.2 kB / 0.7237 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.8834, allocations: 104 kB / 0.7238 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006211/0.884, allocations: 0.6011 MB / 0.7244 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.8845, allocations: 54.31 kB / 0.7244 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.8846, allocations: 46.58 kB / 0.7245 GB, free: 9.125 MB / 0.5137 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.0003725/0.8849, allocations: 185.4 kB / 0.7246 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.8851, allocations: 57.89 kB / 0.7247 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.8868, allocations: 0.7264 MB / 0.7254 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.8868, allocations: 4.781 kB / 0.7254 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8868, allocations: 0 / 0.7254 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.8868, allocations: 5.531 kB / 0.7254 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.8886, allocations: 1.029 MB / 0.7264 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8886, allocations: 3.938 kB / 0.7264 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.8888, allocations: 50.94 kB / 0.7265 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/0.8921, allocations: 447.4 kB / 0.7269 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.8921, allocations: 8.719 kB / 0.7269 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006617/0.8928, allocations: 0.6133 MB / 0.7275 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8928, allocations: 0 / 0.7275 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.8939, allocations: 0.515 MB / 0.728 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.8941, allocations: 142.7 kB / 0.7281 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.8942, allocations: 7.781 kB / 0.7282 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.8946, allocations: 16.61 kB / 0.7282 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.8947, allocations: 29.41 kB / 0.7282 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.8947, allocations: 22.98 kB / 0.7282 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005396/0.8952, allocations: 420.4 kB / 0.7286 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8952, allocations: 0 / 0.7286 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001071/0.8963, allocations: 326.7 kB / 0.7289 GB, free: 6.242 MB / 0.5137 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.002289/0.8986, allocations: 1.418 MB / 0.7303 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009722/0.8996, allocations: 352.3 kB / 0.7307 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8996, allocations: 2.188 kB / 0.7307 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.9, allocations: 170.8 kB / 0.7308 GB, free: 5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.9019, allocations: 363 kB / 0.7312 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008252/0.9102, allocations: 4.954 MB / 0.736 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.9107, allocations: 0.8596 MB / 0.7368 GB, free: 120 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008179/0.9115, allocations: 208.9 kB / 0.737 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.9119, allocations: 215.4 kB / 0.7372 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.9119, allocations: 0 / 0.7372 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.968, allocations: 22.73 MB / 0.7594 GB, free: 8.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.32, allocations: 8.062 kB / 0.7595 GB, free: 8.961 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.435197487007827] 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.483401288976893 14.50827738 13.641662786 Calling exit ...