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.001445/0.001445, allocations: 107.1 kB / 16.41 MB, free: 6.449 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.001188/0.001188, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8324/0.8324, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 67.36 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1577, allocations: 80.92 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.6173/0.7751, allocations: 161.5 MB / 0.823 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.7784, allocations: 1.705 MB / 0.8247 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/0.7788, allocations: 9.688 kB / 0.8247 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.7795, allocations: 160.6 kB / 0.8249 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.7809, allocations: 0.5058 MB / 0.8253 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.7821, allocations: 427.1 kB / 0.8258 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008002/0.7829, allocations: 0.5699 MB / 0.8263 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.7833, allocations: 179.2 kB / 0.8265 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006398/0.7839, allocations: 325.2 kB / 0.8268 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.7842, allocations: 151.4 kB / 0.8269 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.7842, allocations: 12.56 kB / 0.8269 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.7853, allocations: 0.6992 MB / 0.8276 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.7855, allocations: 79.69 kB / 0.8277 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.7856, allocations: 118 kB / 0.8278 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.7864, allocations: 0.4979 MB / 0.8283 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7864, allocations: 0 / 0.8283 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7864, allocations: 0 / 0.8283 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7864, allocations: 0 / 0.8283 GB, free: 0.9453 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.0009031/0.7873, allocations: 0.5914 MB / 0.8289 GB, free: 408 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7873, allocations: 8.953 kB / 0.8289 GB, free: 408 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.7878, allocations: 49.31 kB / 0.8289 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.7882, allocations: 301.5 kB / 0.8292 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.7883, allocations: 19.5 kB / 0.8292 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.7883, allocations: 13.72 kB / 0.8293 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.7887, allocations: 206.4 kB / 0.8295 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7887, allocations: 2.375 kB / 0.8295 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.7888, allocations: 4 kB / 0.8295 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.7888, allocations: 5.594 kB / 0.8295 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.7891, allocations: 131.7 kB / 0.8296 GB, free: 15.86 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.001013/0.7901, allocations: 0.775 MB / 0.8303 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.7904, allocations: 87.5 kB / 0.8304 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.7905, allocations: 81.42 kB / 0.8305 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.7908, allocations: 181.2 kB / 0.8307 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.7909, allocations: 42.55 kB / 0.8307 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.7909, allocations: 0 / 0.8307 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.00067/0.7915, allocations: 216.9 kB / 0.8309 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.7916, allocations: 51.41 kB / 0.831 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.7919, allocations: 266 kB / 0.8312 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.7919, allocations: 35.8 kB / 0.8313 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.792, allocations: 144.3 kB / 0.8314 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.7921, allocations: 32.64 kB / 0.8314 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.7921, allocations: 31.19 kB / 0.8315 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7923, allocations: 332.8 kB / 0.8318 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.7924, allocations: 47.2 kB / 0.8318 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.7926, allocations: 100.3 kB / 0.8319 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.7928, allocations: 113.3 kB / 0.832 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7928, allocations: 3.938 kB / 0.832 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003129/0.7932, allocations: 161.3 kB / 0.8322 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7932, allocations: 11.31 kB / 0.8322 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7932, allocations: 0.5625 kB / 0.8322 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7932, allocations: 2.688 kB / 0.8322 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.7933, allocations: 23.02 kB / 0.8322 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7933, allocations: 2.531 kB / 0.8322 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.7935, allocations: 24.91 kB / 0.8322 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.7936, allocations: 11.34 kB / 0.8323 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001798/0.7937, allocations: 148.3 kB / 0.8324 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/0.7939, allocations: 86.11 kB / 0.8325 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002328/0.7941, allocations: 121.4 kB / 0.8326 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.7941, allocations: 0 / 0.8326 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002944/0.7944, allocations: 159.2 kB / 0.8328 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.7945, allocations: 4.688 kB / 0.8328 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.7945, allocations: 2.781 kB / 0.8328 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-06/0.7945, allocations: 3.938 kB / 0.8328 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.7946, allocations: 28.89 kB / 0.8328 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.7946, allocations: 2.969 kB / 0.8328 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.7948, allocations: 19.61 kB / 0.8328 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.7948, allocations: 4.906 kB / 0.8328 GB, free: 13.19 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.0001104/0.7949, allocations: 183 kB / 0.833 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.7949, allocations: 25.72 kB / 0.833 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.7953, allocations: 169 kB / 0.8332 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7953, allocations: 288 / 0.8332 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7953, allocations: 3.984 kB / 0.8332 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7953, allocations: 6.141 kB / 0.8332 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.7962, allocations: 0.586 MB / 0.8338 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7962, allocations: 0 / 0.8338 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.7963, allocations: 25.23 kB / 0.8338 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7963, allocations: 5.156 kB / 0.8338 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.7963, allocations: 2.656 kB / 0.8338 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.7963, allocations: 2.219 kB / 0.8338 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7963, allocations: 14.23 kB / 0.8338 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.7967, allocations: 289.8 kB / 0.8341 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.7968, allocations: 117.3 kB / 0.8342 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.7969, allocations: 12.77 kB / 0.8342 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.797, allocations: 15.39 kB / 0.8342 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.7971, allocations: 13.34 kB / 0.8342 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.7971, allocations: 13.02 kB / 0.8342 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001676/0.7973, allocations: 193.7 kB / 0.8344 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7973, allocations: 0 / 0.8344 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004621/0.7978, allocations: 89.69 kB / 0.8345 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.0004121/0.7982, allocations: 164.1 kB / 0.8347 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.7986, allocations: 166.9 kB / 0.8348 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7987, allocations: 2.156 kB / 0.8348 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.7988, allocations: 60.95 kB / 0.8349 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.0006975/0.7995, allocations: 124.6 kB / 0.835 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/0.8002, allocations: 463.1 kB / 0.8355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.8006, allocations: 0.7538 MB / 0.8362 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.8007, allocations: 20 kB / 0.8362 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.8007, allocations: 0 / 0.8362 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.006169/0.8068, allocations: 3.753 MB / 0.8399 GB, free: 8.457 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)