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.001229/0.001229, allocations: 105.4 kB / 16.41 MB, free: 6.488 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.001147/0.001148, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.357/1.357, 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-master/package.mo): time 0.7957/0.7957, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.81 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5878/0.7426, allocations: 161.5 MB / 0.823 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.7459, allocations: 1.704 MB / 0.8247 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.7465, allocations: 11.16 kB / 0.8247 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.7473, allocations: 158.7 kB / 0.8248 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.749, allocations: 0.5059 MB / 0.8253 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.7504, allocations: 426 kB / 0.8257 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009861/0.7514, allocations: 0.5742 MB / 0.8263 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.7518, allocations: 176.1 kB / 0.8265 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.7526, allocations: 328.3 kB / 0.8268 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.7529, allocations: 149 kB / 0.8269 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.753, allocations: 12.53 kB / 0.8269 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.7543, allocations: 0.6961 MB / 0.8276 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.7544, allocations: 79.7 kB / 0.8277 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.7546, allocations: 118 kB / 0.8278 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.7556, allocations: 0.5022 MB / 0.8283 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7556, allocations: 0 / 0.8283 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7556, allocations: 4 kB / 0.8283 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.7556, allocations: 0 / 0.8283 GB, free: 1.074 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.0009596/0.7566, allocations: 0.5772 MB / 0.8289 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.7566, allocations: 15.11 kB / 0.8289 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004253/0.757, allocations: 64.62 kB / 0.8289 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.7576, allocations: 307.8 kB / 0.8292 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.7576, allocations: 9.031 kB / 0.8293 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.7576, allocations: 14.41 kB / 0.8293 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.758, allocations: 198.2 kB / 0.8295 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7581, allocations: 6.875 kB / 0.8295 GB, free: 60 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.7581, allocations: 4 kB / 0.8295 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7581, allocations: 4.406 kB / 0.8295 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.7584, allocations: 123.7 kB / 0.8296 GB, free: 0 / 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.001092/0.7595, allocations: 0.7873 MB / 0.8304 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.7598, allocations: 83.97 kB / 0.8304 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.7599, allocations: 73.38 kB / 0.8305 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.7602, allocations: 192.8 kB / 0.8307 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.7603, allocations: 30.56 kB / 0.8307 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.7603, allocations: 0 / 0.8307 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007026/0.761, allocations: 219 kB / 0.8309 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.761, allocations: 57.5 kB / 0.831 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.7613, allocations: 268.2 kB / 0.8312 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.7613, allocations: 25.7 kB / 0.8313 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.7614, allocations: 140.5 kB / 0.8314 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.7614, allocations: 35.95 kB / 0.8314 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.7615, allocations: 36.27 kB / 0.8315 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7616, allocations: 327.7 kB / 0.8318 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.7618, allocations: 59.22 kB / 0.8318 GB, free: 14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.7619, allocations: 88.55 kB / 0.8319 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.7622, allocations: 130.1 kB / 0.832 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7622, allocations: 3.938 kB / 0.832 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003483/0.7626, allocations: 149.2 kB / 0.8322 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7626, allocations: 10.97 kB / 0.8322 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7626, allocations: 3.984 kB / 0.8322 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.7627, allocations: 7 kB / 0.8322 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.7628, allocations: 27.23 kB / 0.8322 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7628, allocations: 2.094 kB / 0.8322 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.763, allocations: 15.89 kB / 0.8323 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.763, allocations: 5.031 kB / 0.8323 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001917/0.7632, allocations: 147.4 kB / 0.8324 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001515/0.7634, allocations: 97.41 kB / 0.8325 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000234/0.7636, allocations: 113.5 kB / 0.8326 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.7636, allocations: 0 / 0.8326 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003167/0.764, allocations: 161.1 kB / 0.8328 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.764, allocations: 9.281 kB / 0.8328 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-06/0.764, allocations: 0 / 0.8328 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/0.764, allocations: 6.688 kB / 0.8328 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.7641, allocations: 25.98 kB / 0.8328 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.7641, allocations: 0.75 kB / 0.8328 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.7643, allocations: 15.33 kB / 0.8328 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.7643, allocations: 8.828 kB / 0.8328 GB, free: 13.32 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.0001106/0.7644, allocations: 189.4 kB / 0.833 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.7645, allocations: 25.78 kB / 0.833 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.7649, allocations: 159.5 kB / 0.8332 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7649, allocations: 2.562 kB / 0.8332 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7649, allocations: 0.9375 kB / 0.8332 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7649, allocations: 0 / 0.8332 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.7658, allocations: 0.5913 MB / 0.8338 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7658, allocations: 0 / 0.8338 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.7659, allocations: 21.73 kB / 0.8338 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.7659, allocations: 10.7 kB / 0.8338 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.766, allocations: 5.062 kB / 0.8338 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.766, allocations: 5.062 kB / 0.8338 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.766, allocations: 5.094 kB / 0.8338 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.7663, allocations: 299.7 kB / 0.8341 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.7665, allocations: 118.9 kB / 0.8342 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.7665, allocations: 5.281 kB / 0.8342 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.7667, allocations: 17.27 kB / 0.8342 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.7668, allocations: 13.08 kB / 0.8342 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7668, allocations: 7.438 kB / 0.8342 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001697/0.7669, allocations: 195.8 kB / 0.8344 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.767, allocations: 0 / 0.8344 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004694/0.7674, allocations: 93.8 kB / 0.8345 GB, free: 11.92 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.0003989/0.7678, allocations: 160.3 kB / 0.8347 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.7683, allocations: 165.9 kB / 0.8348 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.7683, allocations: 3 kB / 0.8348 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.7685, allocations: 63.89 kB / 0.8349 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.7693, allocations: 120.2 kB / 0.835 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.77, allocations: 462.2 kB / 0.8354 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.7703, allocations: 0.7545 MB / 0.8362 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.7704, allocations: 20.31 kB / 0.8362 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of SimCode: time 6.02e-07/0.7704, allocations: 0 / 0.8362 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Templates: time 0.006691/0.7771, allocations: 3.73 MB / 0.8398 GB, free: 8.613 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)