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.0008568/0.0008568, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008809/0.0008807, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 135.3 MB / 426.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 0.507 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 82.31 MB / 0.5874 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.594/0.7779, allocations: 146.6 MB / 0.7306 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005011/0.783, allocations: 1.601 MB / 0.7321 GB, free: 2.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.7835, allocations: 8.188 kB / 0.7321 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.7841, allocations: 113.8 kB / 0.7323 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.7857, allocations: 385.3 kB / 0.7326 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.7871, allocations: 359.6 kB / 0.733 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.7881, allocations: 0.6512 MB / 0.7336 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.7885, allocations: 131 kB / 0.7337 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.7892, allocations: 270.8 kB / 0.734 GB, free: 1.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.7894, allocations: 146 kB / 0.7341 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.7895, allocations: 7.844 kB / 0.7341 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.7907, allocations: 0.5263 MB / 0.7346 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.7908, allocations: 73.33 kB / 0.7347 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.7909, allocations: 68.64 kB / 0.7348 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.7914, allocations: 328.1 kB / 0.7351 GB, free: 1.039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7915, allocations: 0 / 0.7351 GB, free: 1.039 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7915, allocations: 0 / 0.7351 GB, free: 1.039 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7915, allocations: 0 / 0.7351 GB, free: 1.039 MB / 0.545 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.0008104/0.7923, allocations: 0.5518 MB / 0.7356 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.7924, allocations: 12.53 kB / 0.7356 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.7927, allocations: 54.97 kB / 0.7357 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.7931, allocations: 281.2 kB / 0.736 GB, free: 292 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.7931, allocations: 9.625 kB / 0.736 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.7931, allocations: 14.09 kB / 0.736 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.7936, allocations: 201.7 kB / 0.7362 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7936, allocations: 0 / 0.7362 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.7936, allocations: 6.375 kB / 0.7362 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.7936, allocations: 3.531 kB / 0.7362 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.794, allocations: 139.7 kB / 0.7363 GB, free: 136 kB / 0.545 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.001121/0.7951, allocations: 0.7854 MB / 0.7371 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.7953, allocations: 89.31 kB / 0.7372 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.7955, allocations: 82.19 kB / 0.7372 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.7959, allocations: 195.2 kB / 0.7374 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.7959, allocations: 30.56 kB / 0.7375 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.7959, allocations: 3.938 kB / 0.7375 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006601/0.7966, allocations: 233.4 kB / 0.7377 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.7967, allocations: 55.22 kB / 0.7377 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.797, allocations: 267.1 kB / 0.738 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.797, allocations: 31.08 kB / 0.738 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.7971, allocations: 145.9 kB / 0.7382 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.7972, allocations: 33.94 kB / 0.7382 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.7972, allocations: 1.375 kB / 0.7382 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7974, allocations: 335.2 kB / 0.7385 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.7975, allocations: 51.39 kB / 0.7386 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.7977, allocations: 94.22 kB / 0.7387 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.7978, allocations: 60.02 kB / 0.7387 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7978, allocations: 0 / 0.7387 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003603/0.7982, allocations: 166.2 kB / 0.7389 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/0.7983, allocations: 113.9 kB / 0.739 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7983, allocations: 1.188 kB / 0.739 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7983, allocations: 2.812 kB / 0.739 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.7985, allocations: 24.91 kB / 0.739 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.7985, allocations: 3.984 kB / 0.739 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.7987, allocations: 23.44 kB / 0.739 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.7987, allocations: 14.41 kB / 0.7391 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.7988, allocations: 3.781 kB / 0.7391 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003041/0.7991, allocations: 123.3 kB / 0.7392 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.7991, allocations: 0 / 0.7392 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.7991, allocations: 2.469 kB / 0.7392 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.7992, allocations: 21.03 kB / 0.7392 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.7992, allocations: 2.406 kB / 0.7392 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.7994, allocations: 28.55 kB / 0.7392 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.7994, allocations: 9.031 kB / 0.7392 GB, free: 14.04 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.7996, allocations: 219.6 kB / 0.7394 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.7996, allocations: 28.7 kB / 0.7395 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.8001, allocations: 167.9 kB / 0.7396 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8001, allocations: 5.344 kB / 0.7396 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8001, allocations: 3.688 kB / 0.7396 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.8001, allocations: 2.859 kB / 0.7396 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000978/0.8011, allocations: 0.6034 MB / 0.7402 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8011, allocations: 1.375 kB / 0.7402 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.8013, allocations: 24.97 kB / 0.7403 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.8013, allocations: 12.38 kB / 0.7403 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.8013, allocations: 6.75 kB / 0.7403 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.8013, allocations: 7.109 kB / 0.7403 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.8013, allocations: 2.75 kB / 0.7403 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.8017, allocations: 304.8 kB / 0.7406 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8018, allocations: 110.5 kB / 0.7407 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.8019, allocations: 10.75 kB / 0.7407 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.8021, allocations: 15.22 kB / 0.7407 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.8021, allocations: 16.06 kB / 0.7407 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.8021, allocations: 9.5 kB / 0.7407 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001892/0.8023, allocations: 189.9 kB / 0.7409 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8023, allocations: 4 kB / 0.7409 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004873/0.8028, allocations: 101 kB / 0.741 GB, free: 12.77 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004165/0.8033, allocations: 153.8 kB / 0.7412 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004863/0.8038, allocations: 183.7 kB / 0.7413 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8038, allocations: 0 / 0.7413 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.8039, allocations: 68.41 kB / 0.7414 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.8047, allocations: 135.3 kB / 0.7415 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.8054, allocations: 0.4951 MB / 0.742 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.8058, allocations: 0.7587 MB / 0.7428 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002143/0.806, allocations: 68.7 kB / 0.7428 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.806, allocations: 23.98 kB / 0.7428 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of SimCode: time 2.014e-06/0.8061, allocations: 0 / 0.7428 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.008308/0.8144, allocations: 4.125 MB / 0.7469 GB, free: 9.477 MB / 0.5606 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)