Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.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.001259/0.001259, 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.001519/0.001519, allocations: 214 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.392/1.392, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2139/0.2139, 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.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",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.002187/0.002187, allocations: 76.45 kB / 468.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1173, allocations: 61.04 MB / 0.5169 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.004048/0.1213, allocations: 1.669 MB / 0.5186 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.1233, allocations: 0.7799 MB / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.1234, allocations: 4 kB / 0.5193 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1237, allocations: 39.77 kB / 0.5194 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1239, allocations: 55.73 kB / 0.5194 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.1243, allocations: 99.62 kB / 0.5195 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1246, allocations: 151.2 kB / 0.5197 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.1246, allocations: 9.297 kB / 0.5197 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1248, allocations: 67.7 kB / 0.5197 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1249, allocations: 71.67 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.125, allocations: 4 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.1253, allocations: 143.8 kB / 0.52 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1254, allocations: 35.83 kB / 0.52 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.447e-05/0.1255, allocations: 55.67 kB / 0.52 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.126, allocations: 203.2 kB / 0.5202 GB, free: 3.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.126, allocations: 0 / 0.5202 GB, free: 3.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.126, allocations: 0 / 0.5202 GB, free: 3.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.126, allocations: 0 / 0.5202 GB, free: 3.773 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000737/0.1267, allocations: 385.5 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1268, allocations: 15.97 kB / 0.5206 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.418e-05/0.1268, allocations: 8.188 kB / 0.5206 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.1268, allocations: 50.72 kB / 0.5207 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/0.1275, allocations: 68.77 kB / 0.5207 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1277, allocations: 154.3 kB / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1277, allocations: 12.12 kB / 0.5209 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1278, allocations: 15.98 kB / 0.5209 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.1282, allocations: 233.5 kB / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1282, allocations: 0 / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1282, allocations: 0 / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.1283, allocations: 23.98 kB / 0.5212 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1287, allocations: 227.8 kB / 0.5214 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1298, allocations: 0.5239 MB / 0.5219 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.13, allocations: 82.5 kB / 0.522 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.1301, allocations: 44.81 kB / 0.522 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1301, allocations: 3.938 kB / 0.522 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1302, allocations: 38.56 kB / 0.522 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1302, allocations: 0 / 0.522 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005196/0.1307, allocations: 169.4 kB / 0.5222 GB, free: 1.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1307, allocations: 55.34 kB / 0.5223 GB, free: 1.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1309, allocations: 191.2 kB / 0.5224 GB, free: 1.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1309, allocations: 25.7 kB / 0.5225 GB, free: 1.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.131, allocations: 135.8 kB / 0.5226 GB, free: 1.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.1311, allocations: 35.88 kB / 0.5226 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.1311, allocations: 37.7 kB / 0.5227 GB, free: 1.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1313, allocations: 322.8 kB / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1314, allocations: 43.95 kB / 0.523 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1316, allocations: 102.8 kB / 0.5231 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.1319, allocations: 154.7 kB / 0.5233 GB, free: 444 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1319, allocations: 3.938 kB / 0.5233 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003985/0.1323, allocations: 185.3 kB / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1323, allocations: 4.219 kB / 0.5235 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1323, allocations: 8 kB / 0.5235 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1324, allocations: 7.984 kB / 0.5235 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.1333, allocations: 111.9 kB / 0.5236 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.1347, allocations: 1.824 MB / 0.5254 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1349, allocations: 27.77 kB / 0.5254 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1349, allocations: 4 kB / 0.5254 GB, free: 14.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.135, allocations: 141.8 kB / 0.5255 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.1351, allocations: 11.95 kB / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.1355, allocations: 187 kB / 0.5257 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1356, allocations: 0 / 0.5257 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1356, allocations: 0 / 0.5257 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1356, allocations: 4 kB / 0.5257 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.1358, allocations: 200.6 kB / 0.5259 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1358, allocations: 7.922 kB / 0.5259 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.1366, allocations: 107.9 kB / 0.526 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1366, allocations: 0 / 0.526 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1366, allocations: 4 kB / 0.526 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1378, allocations: 1.785 MB / 0.5278 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1378, allocations: 0 / 0.5278 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1381, allocations: 235.4 kB / 0.528 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.1382, allocations: 19.84 kB / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1382, allocations: 0 / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1383, allocations: 16.27 kB / 0.528 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1384, allocations: 11.98 kB / 0.528 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1384, allocations: 4 kB / 0.528 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1385, allocations: 143.9 kB / 0.5282 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1385, allocations: 0 / 0.5282 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.1388, allocations: 51.83 kB / 0.5282 GB, free: 11.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007779/0.1396, allocations: 0.7787 MB / 0.529 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1408, allocations: 228.5 kB / 0.5292 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1408, allocations: 4 kB / 0.5292 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.1415, allocations: 119.8 kB / 0.5293 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.1419, allocations: 49.47 kB / 0.5294 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.1446, allocations: 2.099 MB / 0.5314 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.1447, allocations: 122.6 kB / 0.5315 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1448, allocations: 37.41 kB / 0.5316 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.1449, allocations: 43.42 kB / 0.5316 GB, free: 7.492 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1449, allocations: 0 / 0.5316 GB, free: 7.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.1713, allocations: 5.399 MB / 0.5369 GB, free: 2.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.36, allocations: 20.22 kB / 0.5369 GB, free: 2.082 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.518927542027086] Failed to read output from testmodel.py, exit status != 0: ['time', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 13.532441359013319 13.735249414 13.606650416 Calling exit ...