Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002149/0.002149, allocations: 211.8 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2566/0.2566, allocations: 46.93 MB / 361.6 MB, free: 4.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 75.88 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3141, allocations: 66.09 MB / 0.5615 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003075/0.3171, allocations: 1.812 MB / 0.5633 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.3188, allocations: 1.018 MB / 0.5643 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.3188, allocations: 7.938 kB / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.3191, allocations: 51.73 kB / 0.5644 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3193, allocations: 67.58 kB / 0.5644 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.3196, allocations: 131 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.3199, allocations: 214.8 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.32, allocations: 9.969 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3201, allocations: 91.52 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.3203, allocations: 111.5 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3203, allocations: 8 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.3206, allocations: 203.7 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3208, allocations: 63.67 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.3208, allocations: 91.36 kB / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3213, allocations: 308.6 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.025e-05/0.3213, allocations: 4.047 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3213, allocations: 0 / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3213, allocations: 0 / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007919/0.3221, allocations: 473.3 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3221, allocations: 16.03 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/0.3222, allocations: 58.72 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/0.323, allocations: 132.6 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3233, allocations: 206.1 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3234, allocations: 16.81 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.3234, allocations: 20.12 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.3241, allocations: 438.5 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3241, allocations: 0 / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.3242, allocations: 4 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.3242, allocations: 28.48 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007056/0.3249, allocations: 397.5 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.327, allocations: 1.449 MB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.3273, allocations: 90.52 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3274, allocations: 48.81 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3274, allocations: 8.078 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3275, allocations: 42.55 kB / 0.5689 GB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3275, allocations: 0 / 0.5689 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000567/0.328, allocations: 185.4 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3281, allocations: 51.41 kB / 0.5691 GB, free: 12.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.3284, allocations: 333.8 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3285, allocations: 29.7 kB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3286, allocations: 183.6 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.3286, allocations: 27.78 kB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.3287, allocations: 45.66 kB / 0.5697 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3289, allocations: 330.8 kB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3291, allocations: 67.94 kB / 0.5701 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3293, allocations: 117.9 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.3297, allocations: 189.8 kB / 0.5704 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3297, allocations: 4 kB / 0.5704 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005199/0.3302, allocations: 237.2 kB / 0.5706 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3302, allocations: 6.188 kB / 0.5706 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3302, allocations: 4 kB / 0.5706 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3302, allocations: 4.188 kB / 0.5706 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.3318, allocations: 119.8 kB / 0.5708 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.3339, allocations: 1.836 MB / 0.5726 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.3342, allocations: 35.72 kB / 0.5726 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3342, allocations: 8 kB / 0.5726 GB, free: 8.453 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001645/0.3344, allocations: 161.8 kB / 0.5728 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3344, allocations: 31.84 kB / 0.5728 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.335, allocations: 195.1 kB / 0.573 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.335, allocations: 7.969 kB / 0.573 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.335, allocations: 4 kB / 0.573 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.335, allocations: 4 kB / 0.573 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3353, allocations: 248.5 kB / 0.5732 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3353, allocations: 0 / 0.5732 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.3365, allocations: 95.86 kB / 0.5733 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3365, allocations: 4 kB / 0.5733 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3365, allocations: 0 / 0.5733 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.338, allocations: 1.789 MB / 0.5751 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.338, allocations: 0 / 0.5751 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.3385, allocations: 267.5 kB / 0.5753 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.3385, allocations: 27.78 kB / 0.5753 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3386, allocations: 4 kB / 0.5753 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3388, allocations: 4 kB / 0.5754 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.3388, allocations: 7.984 kB / 0.5754 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3388, allocations: 7.984 kB / 0.5754 GB, free: 5.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.3391, allocations: 241.2 kB / 0.5756 GB, free: 5.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3391, allocations: 4 kB / 0.5756 GB, free: 5.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.3395, allocations: 63.95 kB / 0.5757 GB, free: 5.168 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.0008871/0.3403, allocations: 0.8139 MB / 0.5765 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.3427, allocations: 243.9 kB / 0.5767 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3427, allocations: 4.125 kB / 0.5767 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.3437, allocations: 107.8 kB / 0.5768 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.344, allocations: 49.77 kB / 0.5768 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.348, allocations: 2.915 MB / 0.5797 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.3485, allocations: 0.7792 MB / 0.5805 GB, free: 80 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.3486, allocations: 54.25 kB / 0.5805 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.3488, allocations: 71.48 kB / 0.5806 GB, free: 15.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3488, allocations: 0 / 0.5806 GB, free: 15.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.3817, allocations: 7.923 MB / 0.5883 GB, free: 8.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 7.859 kB / 0.5883 GB, free: 8.176 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.07922499300912] Failed to read output from testmodel.py, exit status != 0: ['time', 'frac_KmToRs[1]', 'frac_KmToRs[2]', 'frac_KmToRs[3]', 'dp_nom[1]', 'dp_nom[2]', 'dp_nom[3]', 'p_2[1]', 'p_2[2]', 'p_2[3]', 'm_flow_nom[1]', 'm_flow_nom[2]', 'm_flow_nom[3]', 'Km[1]', 'Km[2]', 'Km[3]', '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'] 12.28309254720807 12.299395076 11.975042358 Calling exit ...