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.001067/0.001067, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001056/0.001057, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7988/0.7988, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.84 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1609/0.5292, allocations: 161.5 MB / 0.7392 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.5321, allocations: 1.702 MB / 0.7409 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.5323, allocations: 15.88 kB / 0.7409 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.5329, allocations: 159 kB / 0.7411 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.5341, allocations: 0.5056 MB / 0.7416 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5352, allocations: 424.7 kB / 0.742 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000741/0.5359, allocations: 0.5693 MB / 0.7425 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.5362, allocations: 180.5 kB / 0.7427 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006178/0.5369, allocations: 314.8 kB / 0.743 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.5371, allocations: 155.2 kB / 0.7431 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.5371, allocations: 12 kB / 0.7431 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.5381, allocations: 0.6937 MB / 0.7438 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.5382, allocations: 71.8 kB / 0.7439 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.5384, allocations: 127.3 kB / 0.744 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00068/0.5391, allocations: 0.4906 MB / 0.7445 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5391, allocations: 0 / 0.7445 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5391, allocations: 4 kB / 0.7445 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.5391, allocations: 3.938 kB / 0.7445 GB, free: 6.754 MB / 0.5762 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.0007971/0.5399, allocations: 0.5877 MB / 0.7451 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5399, allocations: 8.031 kB / 0.7451 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.5403, allocations: 63.59 kB / 0.7451 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.5408, allocations: 297.3 kB / 0.7454 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5408, allocations: 12 kB / 0.7454 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.5408, allocations: 12 kB / 0.7454 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.5413, allocations: 197.5 kB / 0.7456 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5413, allocations: 0 / 0.7456 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.5413, allocations: 4 kB / 0.7456 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5413, allocations: 4 kB / 0.7456 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.5416, allocations: 139.8 kB / 0.7458 GB, free: 5.344 MB / 0.5762 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.001008/0.5427, allocations: 0.7769 MB / 0.7465 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.5429, allocations: 86.53 kB / 0.7466 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.5431, allocations: 72.88 kB / 0.7467 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.5433, allocations: 186.2 kB / 0.7469 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5434, allocations: 38.5 kB / 0.7469 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.5434, allocations: 0 / 0.7469 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006447/0.544, allocations: 217.2 kB / 0.7471 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.5441, allocations: 55.39 kB / 0.7472 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.5443, allocations: 271 kB / 0.7474 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.5444, allocations: 37.64 kB / 0.7475 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.5445, allocations: 147.9 kB / 0.7476 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.5445, allocations: 31.56 kB / 0.7476 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.5446, allocations: 29.7 kB / 0.7477 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5448, allocations: 334.8 kB / 0.748 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.5449, allocations: 40.83 kB / 0.748 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.5451, allocations: 101.5 kB / 0.7481 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.5453, allocations: 119.3 kB / 0.7482 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5453, allocations: 192 / 0.7482 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003211/0.5456, allocations: 157.4 kB / 0.7484 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5457, allocations: 15.91 kB / 0.7484 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5457, allocations: 7.984 kB / 0.7484 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5457, allocations: 7.922 kB / 0.7484 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5458, allocations: 19.98 kB / 0.7484 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5458, allocations: 4 kB / 0.7484 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.546, allocations: 23.83 kB / 0.7485 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.546, allocations: 4 kB / 0.7485 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001898/0.5462, allocations: 148.1 kB / 0.7486 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001491/0.5464, allocations: 93.11 kB / 0.7487 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002272/0.5466, allocations: 115.3 kB / 0.7488 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.5466, allocations: 4 kB / 0.7488 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003119/0.547, allocations: 157.2 kB / 0.7489 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.547, allocations: 8 kB / 0.749 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.547, allocations: 3.938 kB / 0.749 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.547, allocations: 0 / 0.749 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.5471, allocations: 19.98 kB / 0.749 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.5471, allocations: 4 kB / 0.749 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.5473, allocations: 24 kB / 0.749 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.5473, allocations: 4 kB / 0.749 GB, free: 1.766 MB / 0.5762 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.0001556/0.5475, allocations: 188.2 kB / 0.7492 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.5475, allocations: 27.66 kB / 0.7492 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.5479, allocations: 159.3 kB / 0.7494 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5479, allocations: 0 / 0.7494 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5479, allocations: 0 / 0.7494 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5479, allocations: 4 kB / 0.7494 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.5488, allocations: 0.5899 MB / 0.7499 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5488, allocations: 4 kB / 0.75 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.5489, allocations: 19.98 kB / 0.75 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5489, allocations: 8.125 kB / 0.75 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5489, allocations: 8 kB / 0.75 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5489, allocations: 288 / 0.75 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5489, allocations: 4 kB / 0.75 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.5493, allocations: 301.1 kB / 0.7503 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.5494, allocations: 120.8 kB / 0.7504 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.5495, allocations: 8 kB / 0.7504 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.5496, allocations: 11.98 kB / 0.7504 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.5497, allocations: 19.86 kB / 0.7504 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.5497, allocations: 8 kB / 0.7504 GB, free: 160 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.277/0.8267, allocations: 189.8 kB / 0.7506 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8267, allocations: 0 / 0.7506 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007751/0.8275, allocations: 95.36 kB / 0.7507 GB, free: 168.5 MB / 0.5762 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.0004496/0.828, allocations: 154.5 kB / 0.7509 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006115/0.8286, allocations: 165.4 kB / 0.751 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8286, allocations: 0 / 0.751 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.8288, allocations: 62.97 kB / 0.7511 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.8295, allocations: 120.6 kB / 0.7512 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.8303, allocations: 440.8 kB / 0.7516 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.8305, allocations: 0.7574 MB / 0.7523 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.8307, allocations: 66.22 kB / 0.7524 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.8308, allocations: 21.53 kB / 0.7524 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.8308, allocations: 1.062 kB / 0.7524 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.009315/0.8401, allocations: 4.387 MB / 0.7567 GB, free: 166.2 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)