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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001635, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2184/0.2184, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB 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.002179/0.002179, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3159, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003218/0.3192, allocations: 1.801 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3209, allocations: 0.9959 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.321, allocations: 2 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.3213, allocations: 60.61 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.3215, allocations: 63.58 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.3219, allocations: 126 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3222, allocations: 219.8 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.17e-05/0.3223, allocations: 24.8 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3224, allocations: 87.44 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.3226, allocations: 106 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.3226, allocations: 6.875 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.3231, allocations: 198.4 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.3232, allocations: 62.94 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3233, allocations: 94.98 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.3238, allocations: 303.2 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3238, allocations: 0 / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3238, allocations: 0 / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3238, allocations: 0 / 0.5346 GB, free: 10.33 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.0007939/0.3246, allocations: 0.5411 MB / 0.5352 GB, free: 9.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3246, allocations: 13.19 kB / 0.5352 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.595e-05/0.3247, allocations: 71.89 kB / 0.5353 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007991/0.3255, allocations: 124.7 kB / 0.5354 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.3259, allocations: 258.1 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3259, allocations: 17.83 kB / 0.5356 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.3259, allocations: 20.28 kB / 0.5357 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.3266, allocations: 439.7 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3266, allocations: 0 / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.3267, allocations: 6.781 kB / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.3267, allocations: 24.92 kB / 0.5361 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.3275, allocations: 399.8 kB / 0.5365 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3297, allocations: 1.476 MB / 0.5379 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.33, allocations: 91.78 kB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.3301, allocations: 52.84 kB / 0.5381 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3302, allocations: 4.938 kB / 0.5381 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3302, allocations: 35.66 kB / 0.5381 GB, free: 7.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3302, allocations: 4 kB / 0.5381 GB, free: 7.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005958/0.3308, allocations: 184.3 kB / 0.5383 GB, free: 7.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3309, allocations: 56.55 kB / 0.5383 GB, free: 7.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.3313, allocations: 329.5 kB / 0.5387 GB, free: 7.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3313, allocations: 25.7 kB / 0.5387 GB, free: 7.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3315, allocations: 186.6 kB / 0.5389 GB, free: 6.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3315, allocations: 32.06 kB / 0.5389 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.3316, allocations: 40.94 kB / 0.5389 GB, free: 6.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.3318, allocations: 334.8 kB / 0.5392 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.332, allocations: 62.88 kB / 0.5393 GB, free: 6.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3322, allocations: 127.6 kB / 0.5394 GB, free: 6.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.3326, allocations: 182.6 kB / 0.5396 GB, free: 6.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3326, allocations: 5.531 kB / 0.5396 GB, free: 6.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005126/0.3332, allocations: 241 kB / 0.5398 GB, free: 6.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3332, allocations: 10.19 kB / 0.5398 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3332, allocations: 1.031 kB / 0.5398 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3332, allocations: 3.156 kB / 0.5398 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.3347, allocations: 121.4 kB / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.3368, allocations: 1.844 MB / 0.5418 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.3372, allocations: 30.05 kB / 0.5418 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.3372, allocations: 6.5 kB / 0.5418 GB, free: 4.246 MB / 398.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.0001802/0.3374, allocations: 169.3 kB / 0.542 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.3374, allocations: 23.2 kB / 0.542 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.338, allocations: 208.4 kB / 0.5422 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.338, allocations: 1.375 kB / 0.5422 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.338, allocations: 0 / 0.5422 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.338, allocations: 5.25 kB / 0.5422 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.3384, allocations: 275.6 kB / 0.5425 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3384, allocations: 4 kB / 0.5425 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.3396, allocations: 100.1 kB / 0.5425 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3396, allocations: 1.094 kB / 0.5426 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3396, allocations: 1.031 kB / 0.5426 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.341, allocations: 1.795 MB / 0.5443 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3411, allocations: 0 / 0.5443 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.3415, allocations: 259.8 kB / 0.5446 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.3416, allocations: 100.1 kB / 0.5446 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.3417, allocations: 9.125 kB / 0.5447 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3419, allocations: 7.359 kB / 0.5447 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.3419, allocations: 4.5 kB / 0.5447 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.342, allocations: 6.969 kB / 0.5447 GB, free: 1.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.3422, allocations: 244.1 kB / 0.5449 GB, free: 1.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3422, allocations: 0 / 0.5449 GB, free: 1.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.3426, allocations: 71.86 kB / 0.545 GB, free: 1.344 MB / 398.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.000854/0.3435, allocations: 0.8048 MB / 0.5458 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.3458, allocations: 259 kB / 0.546 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3458, allocations: 384 / 0.546 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3468, allocations: 113.3 kB / 0.5461 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3473, allocations: 39.48 kB / 0.5462 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.3515, allocations: 2.915 MB / 0.549 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3519, allocations: 0.7792 MB / 0.5498 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.3521, allocations: 54.19 kB / 0.5498 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3522, allocations: 71.41 kB / 0.5499 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3522, allocations: 0 / 0.5499 GB, free: 13.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.3841, allocations: 7.794 MB / 0.5575 GB, free: 5.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.3, allocations: 13.44 kB / 0.5575 GB, free: 5.672 MB / 414.1 MB (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)