Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 198.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9445/0.9445, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.17 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2259, allocations: 80.92 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.6781/0.9041, allocations: 159.3 MB / 0.7392 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003853/0.908, allocations: 1.723 MB / 0.7409 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006815/0.9088, allocations: 14.16 kB / 0.7409 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007769/0.9096, allocations: 129.5 kB / 0.741 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.9115, allocations: 496.2 kB / 0.7415 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.9133, allocations: 375.6 kB / 0.7419 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.9149, allocations: 0.7598 MB / 0.7426 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.9153, allocations: 146.5 kB / 0.7428 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.9164, allocations: 299.8 kB / 0.743 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.9168, allocations: 165 kB / 0.7432 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.9169, allocations: 7.938 kB / 0.7432 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.9188, allocations: 0.7735 MB / 0.744 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.919, allocations: 74.84 kB / 0.744 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.9193, allocations: 118 kB / 0.7441 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.9208, allocations: 0.5119 MB / 0.7446 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.9208, allocations: 4 kB / 0.7446 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9208, allocations: 1.375 kB / 0.7446 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.9208, allocations: 0 / 0.7446 GB, free: 6.625 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001353/0.9222, allocations: 0.5735 MB / 0.7452 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.9223, allocations: 9.625 kB / 0.7452 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.9228, allocations: 56.47 kB / 0.7453 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.9233, allocations: 291.9 kB / 0.7455 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.9233, allocations: 9.5 kB / 0.7456 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.9234, allocations: 22.94 kB / 0.7456 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.9238, allocations: 191.8 kB / 0.7458 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9239, allocations: 2.219 kB / 0.7458 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.9239, allocations: 4 kB / 0.7458 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.9239, allocations: 5.781 kB / 0.7458 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.9243, allocations: 138.9 kB / 0.7459 GB, free: 5.566 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.9256, allocations: 0.7782 MB / 0.7467 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.926, allocations: 90.42 kB / 0.7468 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.9261, allocations: 71.72 kB / 0.7468 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.9266, allocations: 192.9 kB / 0.747 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.9266, allocations: 32.66 kB / 0.747 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.9266, allocations: 0 / 0.747 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007898/0.9274, allocations: 222.9 kB / 0.7472 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.9275, allocations: 55.41 kB / 0.7473 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.9278, allocations: 267.8 kB / 0.7476 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.9278, allocations: 32.61 kB / 0.7476 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.928, allocations: 141.7 kB / 0.7477 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.928, allocations: 32.28 kB / 0.7478 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.9281, allocations: 30.73 kB / 0.7478 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.9283, allocations: 335.6 kB / 0.7481 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.9285, allocations: 45.08 kB / 0.7481 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.9287, allocations: 96.23 kB / 0.7482 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.9289, allocations: 121.6 kB / 0.7484 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.9289, allocations: 2.5 kB / 0.7484 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003718/0.9293, allocations: 156 kB / 0.7485 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.9293, allocations: 6.094 kB / 0.7485 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.9294, allocations: 6.312 kB / 0.7485 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.9294, allocations: 0 / 0.7485 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.9295, allocations: 26.08 kB / 0.7485 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9295, allocations: 4.031 kB / 0.7485 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.9298, allocations: 22.52 kB / 0.7486 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.9298, allocations: 13.39 kB / 0.7486 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002275/0.9301, allocations: 146.3 kB / 0.7487 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001705/0.9303, allocations: 90.98 kB / 0.7488 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002578/0.9305, allocations: 121.6 kB / 0.7489 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.9305, allocations: 0 / 0.7489 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003721/0.9309, allocations: 146.4 kB / 0.7491 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.9309, allocations: 13.55 kB / 0.7491 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.931, allocations: 1.906 kB / 0.7491 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.931, allocations: 6.75 kB / 0.7491 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.9311, allocations: 23.92 kB / 0.7491 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.9311, allocations: 2.109 kB / 0.7491 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.9313, allocations: 29.95 kB / 0.7491 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.9314, allocations: 6.281 kB / 0.7491 GB, free: 2.887 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.9315, allocations: 186.7 kB / 0.7493 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.9316, allocations: 27.31 kB / 0.7493 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.932, allocations: 159.4 kB / 0.7495 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.932, allocations: 0 / 0.7495 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.932, allocations: 2.656 kB / 0.7495 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.932, allocations: 3.984 kB / 0.7495 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.9331, allocations: 0.5874 MB / 0.7501 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9331, allocations: 2.719 kB / 0.7501 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9332, allocations: 26.48 kB / 0.7501 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.9333, allocations: 2.594 kB / 0.7501 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.9333, allocations: 6.5 kB / 0.7501 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9333, allocations: 3.5 kB / 0.7501 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9333, allocations: 5.344 kB / 0.7501 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.9338, allocations: 294.5 kB / 0.7504 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.9339, allocations: 113.6 kB / 0.7505 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.934, allocations: 17.14 kB / 0.7505 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.9342, allocations: 15.77 kB / 0.7505 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.9343, allocations: 12.89 kB / 0.7506 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.9343, allocations: 13.66 kB / 0.7506 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002256/0.9345, allocations: 193.6 kB / 0.7508 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9345, allocations: 0 / 0.7508 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005721/0.9351, allocations: 91.41 kB / 0.7508 GB, free: 1.488 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005899/0.9357, allocations: 167.9 kB / 0.751 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005479/0.9363, allocations: 158.8 kB / 0.7512 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9363, allocations: 0 / 0.7512 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.9365, allocations: 66.11 kB / 0.7512 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.9374, allocations: 136.7 kB / 0.7513 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.9384, allocations: 0.4973 MB / 0.7518 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.9388, allocations: 0.7605 MB / 0.7526 GB, free: 64 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002836/0.9391, allocations: 76.92 kB / 0.7526 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.9391, allocations: 18.34 kB / 0.7527 GB, free: 20 kB / 0.5606 GB Notification: Performance of SimCode: time 1.91e-07/0.9392, allocations: 0 / 0.7527 GB, free: 20 kB / 0.5606 GB Notification: Performance of Templates: time 0.01021/0.9494, allocations: 4.267 MB / 0.7568 GB, free: 11.89 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)