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.008928/0.008929, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.002194/0.002194, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 71.89 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5207, allocations: 80.91 MB / 0.6646 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1959/0.7166, allocations: 161.5 MB / 0.8224 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.7198, allocations: 1.707 MB / 0.824 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.7202, allocations: 15.88 kB / 0.8241 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.7209, allocations: 159 kB / 0.8242 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.7224, allocations: 0.529 MB / 0.8247 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.7235, allocations: 431 kB / 0.8251 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.7243, allocations: 0.5732 MB / 0.8257 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.7246, allocations: 172.5 kB / 0.8259 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.7252, allocations: 330.7 kB / 0.8262 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.7254, allocations: 147.3 kB / 0.8263 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.7255, allocations: 16 kB / 0.8263 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.7266, allocations: 0.7016 MB / 0.827 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.7267, allocations: 75.73 kB / 0.8271 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.7268, allocations: 123.3 kB / 0.8272 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.7276, allocations: 0.4926 MB / 0.8277 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7276, allocations: 0 / 0.8277 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7276, allocations: 0 / 0.8277 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.7276, allocations: 4 kB / 0.8277 GB, free: 10.06 MB / 0.6544 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.0008877/0.7285, allocations: 0.5877 MB / 0.8283 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7286, allocations: 8.031 kB / 0.8283 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.7289, allocations: 63.56 kB / 0.8283 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.7294, allocations: 293.3 kB / 0.8286 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.7294, allocations: 16 kB / 0.8286 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.7295, allocations: 12 kB / 0.8286 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.7298, allocations: 196.1 kB / 0.8288 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7299, allocations: 0 / 0.8288 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.7299, allocations: 4 kB / 0.8288 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.7299, allocations: 4 kB / 0.8288 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.7302, allocations: 143.8 kB / 0.829 GB, free: 8.641 MB / 0.6544 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.001009/0.7312, allocations: 0.7769 MB / 0.8297 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.7315, allocations: 86.59 kB / 0.8298 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.7316, allocations: 76.8 kB / 0.8299 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.7319, allocations: 182.2 kB / 0.8301 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.732, allocations: 38.5 kB / 0.8301 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.732, allocations: 4 kB / 0.8301 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006422/0.7326, allocations: 217.5 kB / 0.8303 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.7327, allocations: 55.34 kB / 0.8304 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.733, allocations: 267 kB / 0.8306 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.733, allocations: 37.7 kB / 0.8306 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.7331, allocations: 147.9 kB / 0.8308 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.7331, allocations: 31.55 kB / 0.8308 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.7332, allocations: 25.62 kB / 0.8308 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7333, allocations: 338.8 kB / 0.8312 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.7335, allocations: 40.83 kB / 0.8312 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.7336, allocations: 101.1 kB / 0.8313 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.7339, allocations: 115.3 kB / 0.8314 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7339, allocations: 0 / 0.8314 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000315/0.7342, allocations: 165.2 kB / 0.8316 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7343, allocations: 4 kB / 0.8316 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7343, allocations: 4 kB / 0.8316 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7343, allocations: 0 / 0.8316 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.7344, allocations: 19.98 kB / 0.8316 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7344, allocations: 4 kB / 0.8316 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.7346, allocations: 23.97 kB / 0.8316 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.7346, allocations: 15.95 kB / 0.8316 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001806/0.7348, allocations: 145.7 kB / 0.8318 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001568/0.735, allocations: 101 kB / 0.8319 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002171/0.7352, allocations: 119.3 kB / 0.832 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.7352, allocations: 0 / 0.832 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003118/0.7355, allocations: 157.2 kB / 0.8321 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7356, allocations: 15.92 kB / 0.8322 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.7356, allocations: 0 / 0.8322 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.7356, allocations: 0 / 0.8322 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.7357, allocations: 19.98 kB / 0.8322 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.7357, allocations: 8.031 kB / 0.8322 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.7358, allocations: 12.45 kB / 0.8322 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.7359, allocations: 8 kB / 0.8322 GB, free: 5.078 MB / 0.6544 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.0001182/0.736, allocations: 188.2 kB / 0.8324 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.736, allocations: 27.66 kB / 0.8324 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.7364, allocations: 159.2 kB / 0.8326 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7364, allocations: 4 kB / 0.8326 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7364, allocations: 0 / 0.8326 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7364, allocations: 3.984 kB / 0.8326 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.7373, allocations: 0.586 MB / 0.8331 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7373, allocations: 4 kB / 0.8331 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.7374, allocations: 23.92 kB / 0.8332 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.7374, allocations: 4 kB / 0.8332 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.7374, allocations: 8 kB / 0.8332 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7375, allocations: 0 / 0.8332 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7375, allocations: 4 kB / 0.8332 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.7378, allocations: 297.5 kB / 0.8335 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.7379, allocations: 120.7 kB / 0.8336 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.738, allocations: 4 kB / 0.8336 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.7382, allocations: 15.97 kB / 0.8336 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.7382, allocations: 11.88 kB / 0.8336 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.7382, allocations: 12 kB / 0.8336 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001871/0.7384, allocations: 201.9 kB / 0.8338 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7384, allocations: 0 / 0.8338 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004584/0.7389, allocations: 91.84 kB / 0.8339 GB, free: 3.188 MB / 0.6544 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.0003885/0.7393, allocations: 160.9 kB / 0.8341 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.7398, allocations: 171.7 kB / 0.8342 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.7398, allocations: 4 kB / 0.8342 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.7399, allocations: 59.89 kB / 0.8343 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.7406, allocations: 123.2 kB / 0.8344 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.7413, allocations: 437 kB / 0.8348 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.7417, allocations: 0.7597 MB / 0.8356 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.7419, allocations: 69.88 kB / 0.8356 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.742, allocations: 19.44 kB / 0.8356 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.742, allocations: 0 / 0.8356 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of Templates: time 0.008644/0.7506, allocations: 4.4 MB / 0.8399 GB, free: 13 MB / 0.67 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)