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.001747/0.001747, allocations: 109 kB / 20.48 MB, free: 1.477 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.002263/0.002263, allocations: 208.8 kB / 23.78 MB, free: 4.688 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.443/1.443, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.2248/0.2248, allocations: 44.24 MB / 331.1 MB, free: 9.605 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.002152/0.002152, allocations: 66.41 kB / 468.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 61.04 MB / 0.5169 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003314/0.1264, allocations: 1.704 MB / 0.5186 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1279, allocations: 0.8578 MB / 0.5194 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.128, allocations: 0 / 0.5194 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1282, allocations: 47.75 kB / 0.5195 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1284, allocations: 51.73 kB / 0.5195 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1287, allocations: 91.62 kB / 0.5196 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.1289, allocations: 163.2 kB / 0.5198 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.129, allocations: 9.297 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1291, allocations: 59.77 kB / 0.5198 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1292, allocations: 79.67 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1292, allocations: 4 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.1295, allocations: 155.8 kB / 0.5201 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.871e-05/0.1296, allocations: 47.77 kB / 0.5201 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.1297, allocations: 59.61 kB / 0.5202 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1301, allocations: 203.2 kB / 0.5204 GB, free: 3.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1301, allocations: 4 kB / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1301, allocations: 0 / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1301, allocations: 0 / 0.5204 GB, free: 3.766 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.0006775/0.1307, allocations: 385.5 kB / 0.5207 GB, free: 3.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1308, allocations: 12.03 kB / 0.5208 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.944e-05/0.1308, allocations: 4.188 kB / 0.5208 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.1309, allocations: 46.73 kB / 0.5208 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/0.1314, allocations: 72.77 kB / 0.5209 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1317, allocations: 162.3 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1317, allocations: 16.11 kB / 0.521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1317, allocations: 11.94 kB / 0.5211 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.1322, allocations: 237.4 kB / 0.5213 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1322, allocations: 0 / 0.5213 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1322, allocations: 7.984 kB / 0.5213 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.1323, allocations: 15.98 kB / 0.5213 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.1327, allocations: 227.8 kB / 0.5215 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1339, allocations: 0.694 MB / 0.5222 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1341, allocations: 82.5 kB / 0.5223 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.1342, allocations: 52.75 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1343, allocations: 8.094 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1343, allocations: 30.56 kB / 0.5224 GB, free: 1.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1343, allocations: 0 / 0.5224 GB, free: 1.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005211/0.1348, allocations: 169.5 kB / 0.5225 GB, free: 1.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1349, allocations: 55.39 kB / 0.5226 GB, free: 1.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1351, allocations: 187.2 kB / 0.5228 GB, free: 1.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1351, allocations: 33.7 kB / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1352, allocations: 131.8 kB / 0.5229 GB, free: 0.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1352, allocations: 31.73 kB / 0.5229 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.1353, allocations: 29.72 kB / 0.523 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1354, allocations: 322.8 kB / 0.5233 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1356, allocations: 51.88 kB / 0.5233 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1358, allocations: 98.83 kB / 0.5234 GB, free: 404 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.1361, allocations: 158.6 kB / 0.5236 GB, free: 220 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1361, allocations: 3.984 kB / 0.5236 GB, free: 216 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004039/0.1365, allocations: 181.4 kB / 0.5237 GB, free: 28 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1365, allocations: 4 kB / 0.5238 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1365, allocations: 4 kB / 0.5238 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1365, allocations: 0 / 0.5238 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/0.1375, allocations: 123.8 kB / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.1388, allocations: 1.821 MB / 0.5257 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.139, allocations: 39.7 kB / 0.5257 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.139, allocations: 8 kB / 0.5257 GB, free: 13.96 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.0001373/0.1392, allocations: 145.7 kB / 0.5258 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.1392, allocations: 7.953 kB / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.1397, allocations: 175 kB / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1397, allocations: 0 / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1397, allocations: 0 / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1397, allocations: 4 kB / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.14, allocations: 212.5 kB / 0.5262 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.14, allocations: 3.984 kB / 0.5262 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/0.1407, allocations: 107.8 kB / 0.5263 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1407, allocations: 0 / 0.5263 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1407, allocations: 0 / 0.5263 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.1419, allocations: 1.785 MB / 0.5281 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1419, allocations: 0 / 0.5281 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.1423, allocations: 239.6 kB / 0.5283 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.1423, allocations: 19.83 kB / 0.5283 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.1423, allocations: 7.938 kB / 0.5283 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1425, allocations: 7.984 kB / 0.5283 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1425, allocations: 7.984 kB / 0.5283 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1425, allocations: 8 kB / 0.5283 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1427, allocations: 139.9 kB / 0.5285 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1427, allocations: 0 / 0.5285 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.143, allocations: 47.89 kB / 0.5285 GB, free: 10.92 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.0008016/0.1438, allocations: 0.7944 MB / 0.5293 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.145, allocations: 224.1 kB / 0.5295 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.145, allocations: 0 / 0.5295 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.1456, allocations: 123.7 kB / 0.5296 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.146, allocations: 47.95 kB / 0.5297 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.1488, allocations: 2.093 MB / 0.5317 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.1491, allocations: 0.7435 MB / 0.5324 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.1492, allocations: 33.41 kB / 0.5325 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.1493, allocations: 47.36 kB / 0.5325 GB, free: 6.652 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1493, allocations: 3.938 kB / 0.5325 GB, free: 6.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.1769, allocations: 5.201 MB / 0.5376 GB, free: 1.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.07, allocations: 12.98 kB / 0.5376 GB, free: 1.441 MB / 414.1 MB " [Timeout remaining time 647] (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.374195747019257] 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.456831917981617 13.470590008 13.337812375 Calling exit ...