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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7681/0.7681, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 404.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.5 kB / 485.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000984/0.0009837, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1336, allocations: 80.42 MB / 0.6421 GB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.4581/0.5917, allocations: 159.3 MB / 0.7977 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.5946, allocations: 1.72 MB / 0.7993 GB, free: 292 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.5949, allocations: 7.938 kB / 0.7993 GB, free: 284 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.5954, allocations: 135.2 kB / 0.7995 GB, free: 148 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.5967, allocations: 0.4942 MB / 0.8 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/0.5976, allocations: 370.9 kB / 0.8003 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0008243/0.5985, allocations: 0.7643 MB / 0.8011 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.5987, allocations: 144.5 kB / 0.8012 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.5993, allocations: 310.7 kB / 0.8015 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.5995, allocations: 155.3 kB / 0.8016 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.5995, allocations: 8 kB / 0.8016 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6006, allocations: 0.7716 MB / 0.8024 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.6007, allocations: 79.72 kB / 0.8025 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.6009, allocations: 107.4 kB / 0.8026 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.6015, allocations: 0.5102 MB / 0.8031 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.6016, allocations: 4 kB / 0.8031 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6016, allocations: 0 / 0.8031 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6016, allocations: 4 kB / 0.8031 GB, free: 12.45 MB / 0.5417 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.0007952/0.6024, allocations: 0.5838 MB / 0.8037 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6024, allocations: 8.031 kB / 0.8037 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.6027, allocations: 59.59 kB / 0.8037 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.6031, allocations: 293.2 kB / 0.804 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6031, allocations: 15.94 kB / 0.804 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.6031, allocations: 12 kB / 0.804 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.6035, allocations: 196.1 kB / 0.8042 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6035, allocations: 0 / 0.8042 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.6035, allocations: 11.98 kB / 0.8042 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6036, allocations: 4 kB / 0.8042 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.6039, allocations: 129.2 kB / 0.8044 GB, free: 11.05 MB / 0.5417 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.001029/0.6049, allocations: 0.7731 MB / 0.8051 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.6051, allocations: 90.47 kB / 0.8052 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.6053, allocations: 72.88 kB / 0.8053 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/0.6057, allocations: 194.2 kB / 0.8054 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.6057, allocations: 34.56 kB / 0.8055 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.6057, allocations: 0 / 0.8055 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0006307/0.6063, allocations: 217.2 kB / 0.8057 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.6064, allocations: 55.41 kB / 0.8057 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.6066, allocations: 267 kB / 0.806 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.6067, allocations: 33.7 kB / 0.806 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.6068, allocations: 147.7 kB / 0.8062 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.6068, allocations: 39.42 kB / 0.8062 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.6069, allocations: 29.7 kB / 0.8062 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.607, allocations: 334.8 kB / 0.8066 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.6071, allocations: 44.83 kB / 0.8066 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.6073, allocations: 93.11 kB / 0.8067 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.6075, allocations: 123.3 kB / 0.8068 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6075, allocations: 0.5625 kB / 0.8068 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003144/0.6079, allocations: 161.3 kB / 0.807 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6079, allocations: 8 kB / 0.807 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6079, allocations: 7.625 kB / 0.807 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6079, allocations: 3.938 kB / 0.807 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6081, allocations: 27.92 kB / 0.807 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6081, allocations: 3.938 kB / 0.807 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.6083, allocations: 27.92 kB / 0.807 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.6083, allocations: 4 kB / 0.807 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001839/0.6085, allocations: 148.1 kB / 0.8072 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001552/0.6087, allocations: 89.11 kB / 0.8073 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002262/0.6089, allocations: 119.3 kB / 0.8074 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.6089, allocations: 0 / 0.8074 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003075/0.6092, allocations: 157.2 kB / 0.8075 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/0.6092, allocations: 4 kB / 0.8075 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.6092, allocations: 4 kB / 0.8075 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.6092, allocations: 7.969 kB / 0.8075 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.6094, allocations: 19.98 kB / 0.8076 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.6094, allocations: 0 / 0.8076 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.6095, allocations: 24.19 kB / 0.8076 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6096, allocations: 8 kB / 0.8076 GB, free: 7.469 MB / 0.5417 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 9.503e-05/0.6097, allocations: 188.7 kB / 0.8078 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.6097, allocations: 23.72 kB / 0.8078 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.6101, allocations: 168.1 kB / 0.808 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6101, allocations: 0 / 0.808 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6101, allocations: 0 / 0.808 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6101, allocations: 4 kB / 0.808 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008536/0.611, allocations: 0.5821 MB / 0.8085 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.611, allocations: 4 kB / 0.8085 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.6111, allocations: 19.98 kB / 0.8086 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6111, allocations: 4 kB / 0.8086 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.6111, allocations: 12.22 kB / 0.8086 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.6111, allocations: 3.938 kB / 0.8086 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6111, allocations: 4 kB / 0.8086 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.6119, allocations: 0.9325 MB / 0.8095 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.612, allocations: 116.8 kB / 0.8096 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.612, allocations: 8.688 kB / 0.8096 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.6122, allocations: 15.98 kB / 0.8096 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.6123, allocations: 11.98 kB / 0.8096 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6123, allocations: 7.938 kB / 0.8096 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001731/0.6125, allocations: 201.9 kB / 0.8098 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6125, allocations: 0 / 0.8098 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006146/0.6131, allocations: 91.84 kB / 0.8099 GB, free: 4.898 MB / 0.5417 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.0003458/0.6135, allocations: 171.3 kB / 0.8101 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.6139, allocations: 164.1 kB / 0.8102 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6139, allocations: 0 / 0.8102 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.6141, allocations: 64.41 kB / 0.8103 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.6149, allocations: 138 kB / 0.8104 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/0.6156, allocations: 0.6228 MB / 0.811 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.616, allocations: 0.7599 MB / 0.8118 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.6162, allocations: 66.23 kB / 0.8118 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.6162, allocations: 23.44 kB / 0.8119 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.6162, allocations: 0 / 0.8119 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of Templates: time 0.007636/0.6239, allocations: 4.362 MB / 0.8161 GB, free: 14.52 MB / 0.5573 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)