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.0008933/0.0008933, allocations: 86.8 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.0009877/0.0009877, 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.73/0.73, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004286, allocations: 9.031 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3677, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1511/0.5188, allocations: 146.7 MB / 0.7263 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.5212, allocations: 1.596 MB / 0.7279 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.5215, allocations: 15.81 kB / 0.7279 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.5219, allocations: 107.3 kB / 0.728 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008765/0.5228, allocations: 386.1 kB / 0.7283 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009605/0.5238, allocations: 357.1 kB / 0.7287 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000813/0.5246, allocations: 0.6434 MB / 0.7293 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.5249, allocations: 136.5 kB / 0.7294 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.5254, allocations: 266.9 kB / 0.7297 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.5257, allocations: 151.3 kB / 0.7298 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.5257, allocations: 8 kB / 0.7298 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008859/0.5266, allocations: 0.5223 MB / 0.7304 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.5267, allocations: 71.78 kB / 0.7304 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.5268, allocations: 73.58 kB / 0.7305 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.5272, allocations: 331.2 kB / 0.7308 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5272, allocations: 0 / 0.7308 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5272, allocations: 0 / 0.7308 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5272, allocations: 0 / 0.7308 GB, free: 8.91 MB / 0.5606 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.0006771/0.5279, allocations: 0.545 MB / 0.7313 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.528, allocations: 12.03 kB / 0.7314 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.5283, allocations: 59.58 kB / 0.7314 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.5286, allocations: 281.5 kB / 0.7317 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5286, allocations: 12 kB / 0.7317 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.5287, allocations: 16 kB / 0.7317 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.529, allocations: 192.1 kB / 0.7319 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.529, allocations: 7.984 kB / 0.7319 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.5291, allocations: 8 kB / 0.7319 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5291, allocations: 4 kB / 0.7319 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.5294, allocations: 135.8 kB / 0.732 GB, free: 7.551 MB / 0.5606 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.0009042/0.5303, allocations: 0.7887 MB / 0.7328 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.5305, allocations: 82.53 kB / 0.7329 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.5307, allocations: 88.86 kB / 0.733 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/0.531, allocations: 186.2 kB / 0.7332 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.531, allocations: 34.56 kB / 0.7332 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.531, allocations: 0 / 0.7332 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006218/0.5316, allocations: 237.4 kB / 0.7334 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5317, allocations: 55.34 kB / 0.7335 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.5319, allocations: 267 kB / 0.7337 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5319, allocations: 33.7 kB / 0.7338 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.532, allocations: 147.7 kB / 0.7339 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.5321, allocations: 35.45 kB / 0.7339 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.5321, allocations: 0 / 0.7339 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5322, allocations: 338.8 kB / 0.7342 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.5323, allocations: 43.95 kB / 0.7343 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.5325, allocations: 97.11 kB / 0.7344 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.5326, allocations: 55.95 kB / 0.7344 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5326, allocations: 0 / 0.7344 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003178/0.5329, allocations: 165.3 kB / 0.7346 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.533, allocations: 115.6 kB / 0.7347 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.533, allocations: 0 / 0.7347 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.533, allocations: 4 kB / 0.7347 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5332, allocations: 23.98 kB / 0.7347 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5332, allocations: 4.047 kB / 0.7347 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.5334, allocations: 35.83 kB / 0.7348 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.5334, allocations: 7.953 kB / 0.7348 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.5334, allocations: 4 kB / 0.7348 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002641/0.5337, allocations: 111.9 kB / 0.7349 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/0.5337, allocations: 8.031 kB / 0.7349 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/0.5337, allocations: 3.984 kB / 0.7349 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.5338, allocations: 23.98 kB / 0.7349 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5338, allocations: 11.86 kB / 0.7349 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.534, allocations: 23.83 kB / 0.735 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.534, allocations: 8 kB / 0.735 GB, free: 4.34 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.0001275/0.5341, allocations: 217.1 kB / 0.7352 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.5342, allocations: 27.67 kB / 0.7352 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.5346, allocations: 171.6 kB / 0.7354 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5346, allocations: 4 kB / 0.7354 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.5346, allocations: 0 / 0.7354 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5346, allocations: 96 / 0.7354 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.5354, allocations: 0.6018 MB / 0.736 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5354, allocations: 4.047 kB / 0.736 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.5355, allocations: 35.91 kB / 0.736 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5355, allocations: 4.219 kB / 0.736 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.5355, allocations: 4 kB / 0.736 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5356, allocations: 4 kB / 0.736 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5356, allocations: 0 / 0.736 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.5359, allocations: 305.1 kB / 0.7363 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.536, allocations: 108.8 kB / 0.7364 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.536, allocations: 11.94 kB / 0.7364 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.5363, allocations: 23.97 kB / 0.7364 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.5363, allocations: 11.95 kB / 0.7364 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.5363, allocations: 8 kB / 0.7365 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001635/0.5365, allocations: 193.9 kB / 0.7366 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5365, allocations: 0 / 0.7366 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004376/0.5369, allocations: 99.84 kB / 0.7367 GB, free: 2.387 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.0003099/0.5373, allocations: 166.1 kB / 0.7369 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.5377, allocations: 175.8 kB / 0.7371 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5377, allocations: 0 / 0.7371 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.5379, allocations: 63.89 kB / 0.7371 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.5386, allocations: 140.3 kB / 0.7373 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.5392, allocations: 0.501 MB / 0.7377 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5395, allocations: 0.756 MB / 0.7385 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.5397, allocations: 70.22 kB / 0.7385 GB, free: 464 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.5398, allocations: 19.44 kB / 0.7386 GB, free: 444 kB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5398, allocations: 0 / 0.7386 GB, free: 444 kB / 0.5606 GB Notification: Performance of Templates: time 0.007472/0.5473, allocations: 4.122 MB / 0.7426 GB, free: 12.39 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)