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.001887/0.001887, allocations: 105 kB / 19.74 MB, free: 2.453 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.002244/0.002244, allocations: 219.1 kB / 22.92 MB, free: 5.195 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.306/1.306, allocations: 230.2 MB / 256.2 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 179] 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.1977/0.1977, allocations: 46.89 MB / 359.3 MB, free: 4.957 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.002135/0.002135, allocations: 83.86 kB / 0.494 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2563, allocations: 65.98 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002739/0.259, allocations: 1.822 MB / 0.5602 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2605, allocations: 1.018 MB / 0.5612 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.2605, allocations: 4 kB / 0.5612 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.2608, allocations: 51.67 kB / 0.5613 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2609, allocations: 71.58 kB / 0.5613 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.2613, allocations: 127.5 kB / 0.5614 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.2615, allocations: 210.9 kB / 0.5616 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.2616, allocations: 9.688 kB / 0.5617 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.2617, allocations: 87.5 kB / 0.5617 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2618, allocations: 103.5 kB / 0.5618 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2618, allocations: 8 kB / 0.5618 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.2622, allocations: 211.6 kB / 0.562 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.2623, allocations: 55.75 kB / 0.5621 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.2624, allocations: 99.36 kB / 0.5622 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.2628, allocations: 308.4 kB / 0.5625 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2628, allocations: 0 / 0.5625 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2628, allocations: 0 / 0.5625 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.2628, allocations: 0 / 0.5625 GB, free: 1.047 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007354/0.2635, allocations: 0.5375 MB / 0.563 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2635, allocations: 12.03 kB / 0.563 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/0.2636, allocations: 66.72 kB / 0.5631 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007565/0.2644, allocations: 132.6 kB / 0.5632 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.2647, allocations: 259.9 kB / 0.5635 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2647, allocations: 12.81 kB / 0.5635 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.2647, allocations: 20.12 kB / 0.5635 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.2654, allocations: 437.9 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2654, allocations: 4 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2654, allocations: 7.984 kB / 0.5639 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.2655, allocations: 24.55 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.2661, allocations: 397.8 kB / 0.5643 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.268, allocations: 1.485 MB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.2683, allocations: 94.44 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.2684, allocations: 48.83 kB / 0.5659 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2684, allocations: 3.938 kB / 0.5659 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2685, allocations: 38.55 kB / 0.566 GB, free: 13.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2685, allocations: 4 kB / 0.566 GB, free: 13.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000567/0.269, allocations: 177.4 kB / 0.5661 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2691, allocations: 51.41 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.2694, allocations: 338.5 kB / 0.5665 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2694, allocations: 25.7 kB / 0.5665 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2696, allocations: 187.7 kB / 0.5667 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.2696, allocations: 27.8 kB / 0.5667 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.2697, allocations: 41.66 kB / 0.5668 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2698, allocations: 334.8 kB / 0.5671 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.27, allocations: 67.94 kB / 0.5672 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2702, allocations: 120.2 kB / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.2706, allocations: 189.2 kB / 0.5674 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2706, allocations: 3.938 kB / 0.5675 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004887/0.2711, allocations: 237.2 kB / 0.5677 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2711, allocations: 8 kB / 0.5677 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2711, allocations: 0 / 0.5677 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2711, allocations: 4.188 kB / 0.5677 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2725, allocations: 123.8 kB / 0.5678 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.2743, allocations: 1.836 MB / 0.5696 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.2746, allocations: 39.77 kB / 0.5696 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.2746, allocations: 4 kB / 0.5696 GB, free: 9.301 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.0001439/0.2748, allocations: 165.7 kB / 0.5698 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.2748, allocations: 28.05 kB / 0.5698 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/0.2753, allocations: 199.1 kB / 0.57 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2753, allocations: 4 kB / 0.57 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2753, allocations: 0 / 0.57 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2753, allocations: 4 kB / 0.57 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.2756, allocations: 277.4 kB / 0.5703 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2756, allocations: 0 / 0.5703 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.2767, allocations: 99.8 kB / 0.5704 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2767, allocations: 0 / 0.5704 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2768, allocations: 4 kB / 0.5704 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.278, allocations: 1.789 MB / 0.5721 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.278, allocations: 0 / 0.5721 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.2784, allocations: 263.5 kB / 0.5724 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.2785, allocations: 100.9 kB / 0.5725 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.2785, allocations: 4 kB / 0.5725 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.2787, allocations: 11.98 kB / 0.5725 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.2787, allocations: 4 kB / 0.5725 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.2787, allocations: 0 / 0.5725 GB, free: 6.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.279, allocations: 249.9 kB / 0.5727 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.279, allocations: 0 / 0.5727 GB, free: 5.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.2793, allocations: 75.83 kB / 0.5728 GB, free: 5.879 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.0007708/0.28, allocations: 0.8099 MB / 0.5736 GB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.2822, allocations: 247.6 kB / 0.5738 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2822, allocations: 384 / 0.5738 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009013/0.2831, allocations: 107.9 kB / 0.5739 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2834, allocations: 40.81 kB / 0.574 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/0.2869, allocations: 2.92 MB / 0.5768 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2873, allocations: 0.7753 MB / 0.5776 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.2874, allocations: 54.25 kB / 0.5776 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2875, allocations: 75.41 kB / 0.5777 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2875, allocations: 0 / 0.5777 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.3166, allocations: 7.789 MB / 0.5853 GB, free: 9.039 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.87, allocations: 3.562 kB / 0.5853 GB, free: 9.039 MB / 430.1 MB " [Timeout remaining time 649] (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 --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: 13.418425012001535]