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.001293/0.001293, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001445/0.001445, allocations: 215.5 kB / 23.78 MB, free: 4.523 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.416/1.416, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.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.2099/0.2099, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.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.002151/0.002151, allocations: 67.91 kB / 468.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1238, allocations: 61.05 MB / 0.5169 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4446/0.5684, allocations: 164.8 MB / 0.6779 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00821/0.5766, allocations: 5.273 MB / 0.683 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.5772, allocations: 23.81 kB / 0.683 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.5781, allocations: 309.9 kB / 0.6833 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.5823, allocations: 1.665 MB / 0.685 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.5843, allocations: 0.7392 MB / 0.6857 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002148/0.5864, allocations: 1.559 MB / 0.6872 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.587, allocations: 363.8 kB / 0.6876 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.588, allocations: 0.6033 MB / 0.6882 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006466/0.5887, allocations: 494 kB / 0.6886 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.5888, allocations: 52 kB / 0.6887 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.5911, allocations: 1.147 MB / 0.6898 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.5913, allocations: 163.4 kB / 0.6899 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.5917, allocations: 298.8 kB / 0.6902 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.5941, allocations: 1.565 MB / 0.6918 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5941, allocations: 0 / 0.6918 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5941, allocations: 0 / 0.6918 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.5941, allocations: 4 kB / 0.6918 GB, free: 15.07 MB / 0.5294 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.001946/0.596, allocations: 1.041 MB / 0.6928 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5961, allocations: 8.031 kB / 0.6928 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.725e-05/0.5961, allocations: 15.69 kB / 0.6928 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.5962, allocations: 78.53 kB / 0.6929 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.5973, allocations: 147.5 kB / 0.693 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008385/0.5981, allocations: 437.6 kB / 0.6934 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.5981, allocations: 29 kB / 0.6935 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.5982, allocations: 51.94 kB / 0.6935 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5995, allocations: 0.8879 MB / 0.6944 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5995, allocations: 4 kB / 0.6944 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.5996, allocations: 16 kB / 0.6944 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.5996, allocations: 12 kB / 0.6944 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009612/0.6005, allocations: 491.5 kB / 0.6949 GB, free: 11.69 MB / 0.5294 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.002977/0.6035, allocations: 1.997 MB / 0.6968 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.6043, allocations: 323.6 kB / 0.6971 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.6046, allocations: 153.3 kB / 0.6973 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/0.6056, allocations: 410.5 kB / 0.6977 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6056, allocations: 42.78 kB / 0.6977 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.6056, allocations: 0 / 0.6977 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001793/0.6074, allocations: 0.6596 MB / 0.6984 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.6075, allocations: 132.5 kB / 0.6985 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.6081, allocations: 494.1 kB / 0.699 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.6082, allocations: 41.64 kB / 0.699 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.6084, allocations: 284.2 kB / 0.6993 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.6085, allocations: 126.9 kB / 0.6994 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.6087, allocations: 102.1 kB / 0.6995 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6089, allocations: 358.8 kB / 0.6998 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.6092, allocations: 144.8 kB / 0.7 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.6097, allocations: 356.8 kB / 0.7003 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.6104, allocations: 444.7 kB / 0.7007 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6104, allocations: 0 / 0.7007 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001072/0.6115, allocations: 0.5445 MB / 0.7013 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6115, allocations: 4.938 kB / 0.7013 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6115, allocations: 4.438 kB / 0.7013 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.6132, allocations: 252.5 kB / 0.7015 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.6136, allocations: 99.88 kB / 0.7016 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005225/0.6141, allocations: 0.603 MB / 0.7022 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.6144, allocations: 48.3 kB / 0.7022 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.6145, allocations: 47.98 kB / 0.7023 GB, free: 3.77 MB / 0.5294 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.0002889/0.6148, allocations: 185.6 kB / 0.7025 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6149, allocations: 59.61 kB / 0.7025 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.6165, allocations: 0.7334 MB / 0.7032 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6165, allocations: 4 kB / 0.7032 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6165, allocations: 0 / 0.7032 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6165, allocations: 3.938 kB / 0.7032 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.618, allocations: 0.941 MB / 0.7042 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.618, allocations: 11.88 kB / 0.7042 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.6182, allocations: 47.97 kB / 0.7042 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/0.6217, allocations: 444.4 kB / 0.7046 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.6217, allocations: 16 kB / 0.7047 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000635/0.6223, allocations: 0.607 MB / 0.7053 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6223, allocations: 4.062 kB / 0.7053 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.6233, allocations: 0.5118 MB / 0.7058 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.6234, allocations: 67.64 kB / 0.7058 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6235, allocations: 15.98 kB / 0.7058 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.6239, allocations: 12 kB / 0.7059 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.6239, allocations: 27.89 kB / 0.7059 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.624, allocations: 19.98 kB / 0.7059 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005782/0.6246, allocations: 422.8 kB / 0.7063 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6246, allocations: 4 kB / 0.7063 GB, free: 15.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009635/0.6255, allocations: 327.1 kB / 0.7066 GB, free: 15.18 MB / 0.545 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.00217/0.6277, allocations: 1.409 MB / 0.708 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.6287, allocations: 367.8 kB / 0.7083 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6287, allocations: 0 / 0.7083 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.6291, allocations: 157 kB / 0.7085 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.6309, allocations: 361.4 kB / 0.7088 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008216/0.6391, allocations: 4.948 MB / 0.7137 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.6395, allocations: 267.5 kB / 0.7139 GB, free: 7.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008055/0.6403, allocations: 212.9 kB / 0.7141 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.6406, allocations: 215.4 kB / 0.7143 GB, free: 7.004 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/0.6406, allocations: 0 / 0.7143 GB, free: 7.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/0.6961, allocations: 24.02 MB / 0.7378 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.03, allocations: 12 kB / 0.7378 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 645] (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: 18.10769645194523] 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.225372513988987 15.251267635 14.652660614 Calling exit ...