Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001146/0.001147, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.754/0.754, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 63.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3178, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01412/0.3319, allocations: 20.73 MB / 0.606 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004872/0.3368, allocations: 4.959 MB / 0.6108 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.3373, allocations: 18.44 kB / 0.6109 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.338, allocations: 274 kB / 0.6111 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.3397, allocations: 0.8111 MB / 0.6119 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.3414, allocations: 0.7182 MB / 0.6126 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.3428, allocations: 1.389 MB / 0.614 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.3434, allocations: 436.5 kB / 0.6144 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008286/0.3443, allocations: 0.572 MB / 0.6149 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.3448, allocations: 454 kB / 0.6154 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.3449, allocations: 40 kB / 0.6154 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.3459, allocations: 0.6277 MB / 0.616 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.346, allocations: 127.4 kB / 0.6162 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.3463, allocations: 290.5 kB / 0.6164 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3474, allocations: 0.8488 MB / 0.6173 GB, free: 10.26 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3474, allocations: 4 kB / 0.6173 GB, free: 10.26 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3474, allocations: 3.938 kB / 0.6173 GB, free: 10.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3474, allocations: 0 / 0.6173 GB, free: 10.25 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001482/0.3489, allocations: 0.9226 MB / 0.6182 GB, free: 9.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3489, allocations: 17.09 kB / 0.6182 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.3491, allocations: 64.19 kB / 0.6182 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.3497, allocations: 474.8 kB / 0.6187 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3498, allocations: 28.64 kB / 0.6187 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.3498, allocations: 36 kB / 0.6188 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.3504, allocations: 302 kB / 0.619 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3504, allocations: 4 kB / 0.6191 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.3505, allocations: 12 kB / 0.6191 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3505, allocations: 8 kB / 0.6191 GB, free: 8.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.3511, allocations: 258.4 kB / 0.6193 GB, free: 8.059 MB / 462.1 MB 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.00204/0.3531, allocations: 1.333 MB / 0.6206 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.3536, allocations: 263.2 kB / 0.6209 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.3539, allocations: 136.8 kB / 0.621 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.3543, allocations: 0.4908 MB / 0.6215 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3543, allocations: 38.56 kB / 0.6215 GB, free: 5.555 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.3543, allocations: 224 / 0.6215 GB, free: 5.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001643/0.356, allocations: 0.565 MB / 0.6221 GB, free: 4.961 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.356, allocations: 59.34 kB / 0.6221 GB, free: 4.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.3565, allocations: 470 kB / 0.6226 GB, free: 4.422 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.3566, allocations: 29.7 kB / 0.6226 GB, free: 4.387 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3567, allocations: 244.5 kB / 0.6228 GB, free: 4.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.3568, allocations: 86.69 kB / 0.6229 GB, free: 4.055 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3569, allocations: 81.59 kB / 0.623 GB, free: 3.969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3571, allocations: 358.8 kB / 0.6233 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.3573, allocations: 116.8 kB / 0.6234 GB, free: 3.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.3577, allocations: 188.8 kB / 0.6236 GB, free: 3.289 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.3583, allocations: 279.8 kB / 0.6239 GB, free: 3.012 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3583, allocations: 0 / 0.6239 GB, free: 3.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001465/0.3598, allocations: 491.4 kB / 0.6244 GB, free: 2.523 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3598, allocations: 4 kB / 0.6244 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3598, allocations: 8 kB / 0.6244 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.3601, allocations: 52.8 kB / 0.6244 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.3605, allocations: 71.89 kB / 0.6245 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004082/0.3609, allocations: 0.5717 MB / 0.6251 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.3613, allocations: 47.72 kB / 0.6251 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.3613, allocations: 19.98 kB / 0.6251 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003853/0.3617, allocations: 236 kB / 0.6253 GB, free: 1.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003185/0.3621, allocations: 178.6 kB / 0.6255 GB, free: 1.297 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005206/0.3626, allocations: 260.1 kB / 0.6258 GB, free: 1.035 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.3626, allocations: 0 / 0.6258 GB, free: 1.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007312/0.3633, allocations: 368.8 kB / 0.6261 GB, free: 0.668 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.3634, allocations: 8 kB / 0.6261 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3634, allocations: 3.938 kB / 0.6261 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-06/0.3634, allocations: 0 / 0.6261 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3638, allocations: 83.88 kB / 0.6262 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3638, allocations: 4 kB / 0.6262 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.3642, allocations: 43.8 kB / 0.6262 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3642, allocations: 16 kB / 0.6263 GB, free: 0.5117 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.3643, allocations: 196.1 kB / 0.6265 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.3644, allocations: 55.28 kB / 0.6265 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008947/0.3653, allocations: 428 kB / 0.6269 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.3653, allocations: 0 / 0.6269 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3654, allocations: 4 kB / 0.6269 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3654, allocations: 4 kB / 0.6269 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.3668, allocations: 0.9408 MB / 0.6278 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.3668, allocations: 8.125 kB / 0.6278 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.367, allocations: 47.91 kB / 0.6279 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.3672, allocations: 44.95 kB / 0.6279 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3672, allocations: 8 kB / 0.6279 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003273/0.3676, allocations: 0.5523 MB / 0.6285 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3676, allocations: 8.016 kB / 0.6285 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.3683, allocations: 499 kB / 0.629 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.3685, allocations: 148.4 kB / 0.6291 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.3686, allocations: 11.94 kB / 0.6291 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3689, allocations: 23.97 kB / 0.6291 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.3689, allocations: 19.97 kB / 0.6292 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.369, allocations: 19.98 kB / 0.6292 GB, free: 13.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003162/0.3693, allocations: 326.8 kB / 0.6295 GB, free: 13.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3693, allocations: 3.938 kB / 0.6295 GB, free: 13.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006621/0.37, allocations: 251.5 kB / 0.6297 GB, free: 12.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/0.3705, allocations: 254.8 kB / 0.63 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.3715, allocations: 459.5 kB / 0.6304 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3716, allocations: 4 kB / 0.6304 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.3719, allocations: 167 kB / 0.6306 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.3729, allocations: 222 kB / 0.6308 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3742, allocations: 0.8176 MB / 0.6316 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.3747, allocations: 0.8588 MB / 0.6324 GB, free: 9.977 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003165/0.375, allocations: 120.1 kB / 0.6325 GB, free: 9.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.3751, allocations: 43.42 kB / 0.6326 GB, free: 9.816 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3751, allocations: 0 / 0.6326 GB, free: 9.816 MB / 478.1 MB Notification: Performance of Templates: time 0.01541/0.3905, allocations: 10.11 MB / 0.6425 GB, free: 15.88 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)