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.006792/0.006792, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.001274/0.001274, allocations: 194.8 kB / 16.68 MB, free: 5.965 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.413/1.413, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8079/0.8079, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 62.77 kB / 0.5856 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1914, allocations: 80.92 MB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.6425/0.834, allocations: 161.5 MB / 0.8224 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003127/0.8372, allocations: 1.704 MB / 0.824 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.8376, allocations: 11.75 kB / 0.824 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.8383, allocations: 165.1 kB / 0.8242 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.8397, allocations: 0.532 MB / 0.8247 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.8409, allocations: 421.2 kB / 0.8251 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007504/0.8417, allocations: 0.574 MB / 0.8257 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.842, allocations: 178.6 kB / 0.8258 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.8427, allocations: 332.2 kB / 0.8262 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.8429, allocations: 150.8 kB / 0.8263 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.8429, allocations: 10.66 kB / 0.8263 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.8441, allocations: 0.7029 MB / 0.827 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.8442, allocations: 80.84 kB / 0.8271 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.8443, allocations: 117.9 kB / 0.8272 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.845, allocations: 0.4983 MB / 0.8277 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8451, allocations: 4 kB / 0.8277 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8451, allocations: 0 / 0.8277 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.8451, allocations: 2.469 kB / 0.8277 GB, free: 0.9414 MB / 0.5919 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.0008717/0.846, allocations: 0.5847 MB / 0.8283 GB, free: 408 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.846, allocations: 11.17 kB / 0.8283 GB, free: 408 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/0.8464, allocations: 51 kB / 0.8283 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.8468, allocations: 307.8 kB / 0.8286 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.8468, allocations: 9.094 kB / 0.8286 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.8469, allocations: 14.34 kB / 0.8286 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.8473, allocations: 201.1 kB / 0.8288 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8473, allocations: 0 / 0.8288 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.8473, allocations: 4 kB / 0.8288 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8473, allocations: 4.625 kB / 0.8288 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.8476, allocations: 130.1 kB / 0.829 GB, free: 15.87 MB / 0.6075 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.001025/0.8487, allocations: 0.7823 MB / 0.8297 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.8489, allocations: 82.72 kB / 0.8298 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.8491, allocations: 78.7 kB / 0.8299 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.8494, allocations: 187.8 kB / 0.8301 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.8494, allocations: 37.38 kB / 0.8301 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.8494, allocations: 0 / 0.8301 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006664/0.8501, allocations: 222.9 kB / 0.8303 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.8501, allocations: 53.88 kB / 0.8304 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.8504, allocations: 269.7 kB / 0.8306 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.8504, allocations: 28.02 kB / 0.8306 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.8505, allocations: 142.3 kB / 0.8308 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.8506, allocations: 35.8 kB / 0.8308 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.8507, allocations: 34.31 kB / 0.8308 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8508, allocations: 340.4 kB / 0.8312 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.8509, allocations: 47.55 kB / 0.8312 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.8511, allocations: 93.34 kB / 0.8313 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.8514, allocations: 122 kB / 0.8314 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8514, allocations: 2.094 kB / 0.8314 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003218/0.8517, allocations: 153.5 kB / 0.8316 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8517, allocations: 8.25 kB / 0.8316 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8517, allocations: 3.312 kB / 0.8316 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8518, allocations: 32 / 0.8316 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.8519, allocations: 32.42 kB / 0.8316 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8519, allocations: 6.469 kB / 0.8316 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.8521, allocations: 15.8 kB / 0.8316 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.8521, allocations: 8.266 kB / 0.8316 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001933/0.8523, allocations: 145.6 kB / 0.8318 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001513/0.8525, allocations: 91.86 kB / 0.8319 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002337/0.8527, allocations: 121.3 kB / 0.832 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.8527, allocations: 0 / 0.832 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003175/0.8531, allocations: 157.4 kB / 0.8321 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.8531, allocations: 8.734 kB / 0.8321 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.8531, allocations: 0 / 0.8321 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.8531, allocations: 6.562 kB / 0.8321 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.8532, allocations: 23.52 kB / 0.8322 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.8532, allocations: 2.219 kB / 0.8322 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.8534, allocations: 19.2 kB / 0.8322 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.8534, allocations: 4.938 kB / 0.8322 GB, free: 13.2 MB / 0.6075 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.0001118/0.8535, allocations: 189.5 kB / 0.8324 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.8536, allocations: 25.19 kB / 0.8324 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.8539, allocations: 164.6 kB / 0.8326 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.854, allocations: 2.719 kB / 0.8326 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.854, allocations: 0 / 0.8326 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.854, allocations: 3.984 kB / 0.8326 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/0.8549, allocations: 0.5853 MB / 0.8331 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8549, allocations: 2.781 kB / 0.8331 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.855, allocations: 25.58 kB / 0.8332 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.855, allocations: 2.781 kB / 0.8332 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.855, allocations: 6.031 kB / 0.8332 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.855, allocations: 3.812 kB / 0.8332 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.855, allocations: 7.75 kB / 0.8332 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.8554, allocations: 299.6 kB / 0.8335 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.8555, allocations: 116.8 kB / 0.8336 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.8556, allocations: 2.812 kB / 0.8336 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.8558, allocations: 19.34 kB / 0.8336 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.8558, allocations: 13.22 kB / 0.8336 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.8558, allocations: 4.312 kB / 0.8336 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001807/0.856, allocations: 198.8 kB / 0.8338 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.856, allocations: 0 / 0.8338 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004664/0.8565, allocations: 90.09 kB / 0.8339 GB, free: 11.79 MB / 0.6075 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.0003858/0.8569, allocations: 170.3 kB / 0.834 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.8574, allocations: 162.2 kB / 0.8342 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8574, allocations: 192 / 0.8342 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.8575, allocations: 67.45 kB / 0.8343 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.8583, allocations: 123.4 kB / 0.8344 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.859, allocations: 430.7 kB / 0.8348 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.8593, allocations: 0.7564 MB / 0.8355 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.8595, allocations: 69.69 kB / 0.8356 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.8595, allocations: 20.38 kB / 0.8356 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.8595, allocations: 0 / 0.8356 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.009983/0.8695, allocations: 4.397 MB / 0.8399 GB, free: 8.211 MB / 0.6075 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)