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.001227/0.001228, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 198 kB / 16.54 MB, free: 6.672 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7302/0.7302, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.31 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4314, allocations: 80.21 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1822/0.6136, allocations: 161.5 MB / 0.7378 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.6164, allocations: 1.709 MB / 0.7395 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.6166, allocations: 11.94 kB / 0.7395 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.6172, allocations: 166.9 kB / 0.7396 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.6183, allocations: 0.5056 MB / 0.7401 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.6193, allocations: 411.6 kB / 0.7405 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.6201, allocations: 0.5803 MB / 0.7411 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.6204, allocations: 176.5 kB / 0.7413 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.621, allocations: 322.6 kB / 0.7416 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.6212, allocations: 143.4 kB / 0.7417 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.6212, allocations: 19.94 kB / 0.7417 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.6223, allocations: 0.6898 MB / 0.7424 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.454e-05/0.6224, allocations: 75.8 kB / 0.7425 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.6226, allocations: 127.3 kB / 0.7426 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007043/0.6233, allocations: 0.4908 MB / 0.7431 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6233, allocations: 3.938 kB / 0.7431 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6233, allocations: 3.938 kB / 0.7431 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6233, allocations: 0 / 0.7431 GB, free: 10.01 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.0008854/0.6242, allocations: 0.5761 MB / 0.7436 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6242, allocations: 12.03 kB / 0.7437 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.6246, allocations: 67.5 kB / 0.7437 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.6249, allocations: 277.4 kB / 0.744 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6249, allocations: 16 kB / 0.744 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.625, allocations: 16 kB / 0.744 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.6254, allocations: 193.5 kB / 0.7442 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6254, allocations: 4 kB / 0.7442 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.6254, allocations: 7.938 kB / 0.7442 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.6254, allocations: 8 kB / 0.7442 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.6257, allocations: 127.8 kB / 0.7443 GB, free: 8.617 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.001012/0.6267, allocations: 0.7848 MB / 0.7451 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.627, allocations: 86.47 kB / 0.7452 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.6271, allocations: 76.86 kB / 0.7453 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.6275, allocations: 190.2 kB / 0.7454 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6275, allocations: 42.44 kB / 0.7455 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.6275, allocations: 0 / 0.7455 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006532/0.6282, allocations: 217.2 kB / 0.7457 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.6282, allocations: 51.41 kB / 0.7457 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.6285, allocations: 267 kB / 0.746 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.6285, allocations: 29.7 kB / 0.746 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.6287, allocations: 151.6 kB / 0.7462 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.6287, allocations: 31.55 kB / 0.7462 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.6288, allocations: 29.72 kB / 0.7462 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6289, allocations: 334.8 kB / 0.7466 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.6291, allocations: 48.81 kB / 0.7466 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.6293, allocations: 89.48 kB / 0.7467 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.6295, allocations: 127.5 kB / 0.7468 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6295, allocations: 0 / 0.7468 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000317/0.6299, allocations: 161.2 kB / 0.747 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6299, allocations: 7.938 kB / 0.747 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6299, allocations: 4 kB / 0.747 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6299, allocations: 0 / 0.747 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.63, allocations: 24.02 kB / 0.747 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6301, allocations: 7.984 kB / 0.747 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.6302, allocations: 19.83 kB / 0.747 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.6303, allocations: 8 kB / 0.747 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001764/0.6304, allocations: 140.1 kB / 0.7472 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001607/0.6306, allocations: 101 kB / 0.7473 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000224/0.6308, allocations: 119.4 kB / 0.7474 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.6308, allocations: 0 / 0.7474 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003186/0.6312, allocations: 157.4 kB / 0.7475 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.6312, allocations: 10.5 kB / 0.7475 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.6312, allocations: 3.938 kB / 0.7475 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.6312, allocations: 0 / 0.7475 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6313, allocations: 19.98 kB / 0.7476 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6313, allocations: 7.938 kB / 0.7476 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.6315, allocations: 15.89 kB / 0.7476 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.6315, allocations: 7.938 kB / 0.7476 GB, free: 5.039 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.0001047/0.6316, allocations: 188.3 kB / 0.7478 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.6317, allocations: 31.64 kB / 0.7478 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.632, allocations: 159.3 kB / 0.7479 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.632, allocations: 0 / 0.7479 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6321, allocations: 0 / 0.7479 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6321, allocations: 0 / 0.7479 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.6329, allocations: 0.5861 MB / 0.7485 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6329, allocations: 8 kB / 0.7485 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.633, allocations: 28.14 kB / 0.7486 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.633, allocations: 4 kB / 0.7486 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6331, allocations: 4.281 kB / 0.7486 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6331, allocations: 3.984 kB / 0.7486 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6331, allocations: 4 kB / 0.7486 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.6334, allocations: 301 kB / 0.7489 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.6335, allocations: 120.7 kB / 0.749 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.6336, allocations: 192 / 0.749 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.6338, allocations: 19.98 kB / 0.749 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.6338, allocations: 15.91 kB / 0.749 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.6338, allocations: 8 kB / 0.749 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001719/0.634, allocations: 194 kB / 0.7492 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.634, allocations: 0 / 0.7492 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004378/0.6345, allocations: 91.84 kB / 0.7493 GB, free: 3.152 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.0003423/0.6348, allocations: 153 kB / 0.7494 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.6353, allocations: 167.8 kB / 0.7496 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6353, allocations: 0 / 0.7496 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.6354, allocations: 68.39 kB / 0.7497 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/0.6361, allocations: 117 kB / 0.7498 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.6368, allocations: 444.9 kB / 0.7502 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6371, allocations: 0.7597 MB / 0.7509 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.6373, allocations: 69.86 kB / 0.751 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.6374, allocations: 23.38 kB / 0.751 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6374, allocations: 7.938 kB / 0.751 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Templates: time 0.007873/0.6453, allocations: 4.379 MB / 0.7553 GB, free: 12.99 MB / 0.5919 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)