Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001448/0.001448, allocations: 107.3 kB / 16.41 MB, free: 6.512 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.001025/0.001025, allocations: 187 kB / 17.34 MB, free: 5.742 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8034/0.8034, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.05 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1653, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.62/0.7853, allocations: 161.5 MB / 0.818 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.7886, allocations: 1.713 MB / 0.8197 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.7892, allocations: 11.62 kB / 0.8197 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.7899, allocations: 152.4 kB / 0.8199 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.7916, allocations: 0.5074 MB / 0.8204 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.793, allocations: 427.3 kB / 0.8208 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000958/0.7939, allocations: 0.574 MB / 0.8213 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.7944, allocations: 176.2 kB / 0.8215 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008383/0.7952, allocations: 317.9 kB / 0.8218 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.7956, allocations: 153.8 kB / 0.822 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.7956, allocations: 12.97 kB / 0.822 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.7969, allocations: 0.6967 MB / 0.8227 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.797, allocations: 84.56 kB / 0.8227 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.7972, allocations: 120.8 kB / 0.8228 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009152/0.7981, allocations: 0.496 MB / 0.8233 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7981, allocations: 0 / 0.8233 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7981, allocations: 0 / 0.8233 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.7982, allocations: 2.844 kB / 0.8233 GB, free: 6.648 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.0009896/0.7992, allocations: 0.5833 MB / 0.8239 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7992, allocations: 10.41 kB / 0.8239 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.7996, allocations: 53.17 kB / 0.824 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.8002, allocations: 310.5 kB / 0.8243 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.8002, allocations: 13.52 kB / 0.8243 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.8002, allocations: 18 kB / 0.8243 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.8006, allocations: 192.4 kB / 0.8245 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.8007, allocations: 2.5 kB / 0.8245 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.8007, allocations: 4 kB / 0.8245 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8007, allocations: 3.5 kB / 0.8245 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.801, allocations: 126.8 kB / 0.8246 GB, free: 5.578 MB / 0.5919 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.001113/0.8021, allocations: 0.7841 MB / 0.8254 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.8024, allocations: 90.66 kB / 0.8255 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.8026, allocations: 73.31 kB / 0.8255 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.8028, allocations: 186.4 kB / 0.8257 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.8029, allocations: 33.31 kB / 0.8257 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.8029, allocations: 0 / 0.8257 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007054/0.8036, allocations: 227 kB / 0.826 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.8036, allocations: 55.34 kB / 0.826 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.8039, allocations: 268.2 kB / 0.8263 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.8039, allocations: 29.7 kB / 0.8263 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.8041, allocations: 144.2 kB / 0.8264 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.8041, allocations: 41.2 kB / 0.8265 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.8042, allocations: 27.05 kB / 0.8265 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.8044, allocations: 332.2 kB / 0.8268 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.8045, allocations: 47.47 kB / 0.8269 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.8047, allocations: 100.3 kB / 0.8269 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.805, allocations: 117.9 kB / 0.8271 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.805, allocations: 0 / 0.8271 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003536/0.8054, allocations: 155.5 kB / 0.8272 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.8054, allocations: 15.44 kB / 0.8272 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8054, allocations: 0 / 0.8272 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.8054, allocations: 6.078 kB / 0.8272 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.8056, allocations: 20.39 kB / 0.8272 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.8056, allocations: 6.156 kB / 0.8273 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.8058, allocations: 17.92 kB / 0.8273 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.8058, allocations: 3.094 kB / 0.8273 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001936/0.806, allocations: 147.3 kB / 0.8274 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001563/0.8062, allocations: 93 kB / 0.8275 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002305/0.8064, allocations: 118.2 kB / 0.8276 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.8064, allocations: 4 kB / 0.8276 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003171/0.8067, allocations: 157.8 kB / 0.8278 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.8068, allocations: 5.469 kB / 0.8278 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.8068, allocations: 0 / 0.8278 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.8068, allocations: 6.219 kB / 0.8278 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.8069, allocations: 28.77 kB / 0.8278 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.8069, allocations: 0 / 0.8278 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.8071, allocations: 26.14 kB / 0.8278 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.8071, allocations: 2.719 kB / 0.8278 GB, free: 2.902 MB / 0.5919 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.000111/0.8072, allocations: 193.2 kB / 0.828 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.8073, allocations: 25.72 kB / 0.828 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.8077, allocations: 161.6 kB / 0.8282 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.8077, allocations: 0 / 0.8282 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8077, allocations: 6.875 kB / 0.8282 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.8077, allocations: 4 kB / 0.8282 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.8086, allocations: 0.5893 MB / 0.8288 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8086, allocations: 0 / 0.8288 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.8087, allocations: 28.14 kB / 0.8288 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8087, allocations: 0 / 0.8288 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.8087, allocations: 6.734 kB / 0.8288 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.8088, allocations: 4.875 kB / 0.8288 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8088, allocations: 0 / 0.8288 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.8091, allocations: 295.3 kB / 0.8291 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.8093, allocations: 124.1 kB / 0.8292 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.8093, allocations: 6.719 kB / 0.8292 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.8095, allocations: 13.03 kB / 0.8292 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.8096, allocations: 19.33 kB / 0.8293 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.8096, allocations: 4.844 kB / 0.8293 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001781/0.8098, allocations: 191.9 kB / 0.8294 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8098, allocations: 2.094 kB / 0.8295 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004765/0.8102, allocations: 95.83 kB / 0.8295 GB, free: 1.488 MB / 0.5919 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.0004347/0.8107, allocations: 168.3 kB / 0.8297 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.8112, allocations: 161.9 kB / 0.8299 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.8112, allocations: 0 / 0.8299 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.8113, allocations: 67.27 kB / 0.8299 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007547/0.8121, allocations: 115.3 kB / 0.83 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.8128, allocations: 458.1 kB / 0.8305 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.8131, allocations: 0.7539 MB / 0.8312 GB, free: 132 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.8132, allocations: 24.08 kB / 0.8312 GB, free: 120 kB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.8132, allocations: 2.906 kB / 0.8312 GB, free: 120 kB / 0.5919 GB Notification: Performance of Templates: time 0.008179/0.8214, allocations: 3.714 MB / 0.8349 GB, free: 14.21 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)