Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001131/0.001131, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00691/0.00691, allocations: 170 kB / 16.26 MB, free: 6.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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004094, allocations: 8 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5153, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02466/0.54, allocations: 20.07 MB / 0.6033 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00815/0.5482, allocations: 4.924 MB / 0.6081 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009518/0.5492, allocations: 15.66 kB / 0.6081 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5503, allocations: 220.3 kB / 0.6083 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.553, allocations: 0.7488 MB / 0.609 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.5559, allocations: 0.6377 MB / 0.6096 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005063/0.561, allocations: 1.825 MB / 0.6114 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.5628, allocations: 365.3 kB / 0.6118 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.5657, allocations: 0.5166 MB / 0.6123 GB, free: 15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.5673, allocations: 454.1 kB / 0.6127 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.5676, allocations: 20.41 kB / 0.6127 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.5698, allocations: 0.5992 MB / 0.6133 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.5701, allocations: 110 kB / 0.6134 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009759/0.5711, allocations: 291.8 kB / 0.6137 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.5733, allocations: 0.801 MB / 0.6145 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5734, allocations: 1.094 kB / 0.6145 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5734, allocations: 3.938 kB / 0.6145 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.5734, allocations: 4 kB / 0.6145 GB, free: 13.61 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.002529/0.576, allocations: 0.836 MB / 0.6153 GB, free: 12.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.576, allocations: 9.125 kB / 0.6153 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.5764, allocations: 64.12 kB / 0.6154 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.5776, allocations: 450 kB / 0.6158 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.5776, allocations: 27.81 kB / 0.6158 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.5777, allocations: 35.44 kB / 0.6159 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009476/0.5787, allocations: 316.9 kB / 0.6162 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5787, allocations: 0 / 0.6162 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.5788, allocations: 11.38 kB / 0.6162 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5788, allocations: 6.781 kB / 0.6162 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.5796, allocations: 285 kB / 0.6165 GB, free: 12.15 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.002815/0.5824, allocations: 1.359 MB / 0.6178 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.583, allocations: 266.1 kB / 0.618 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.5834, allocations: 145.8 kB / 0.6182 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/0.584, allocations: 0.4955 MB / 0.6187 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.584, allocations: 39.84 kB / 0.6187 GB, free: 10.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.584, allocations: 0 / 0.6187 GB, free: 10.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.002084/0.5861, allocations: 0.587 MB / 0.6193 GB, free: 9.836 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5862, allocations: 57.56 kB / 0.6193 GB, free: 9.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.5869, allocations: 477.4 kB / 0.6198 GB, free: 9.477 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.587, allocations: 32.73 kB / 0.6198 GB, free: 9.441 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.5872, allocations: 238.9 kB / 0.62 GB, free: 9.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.5873, allocations: 84.78 kB / 0.6201 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.5874, allocations: 37.02 kB / 0.6202 GB, free: 9.125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5876, allocations: 357.3 kB / 0.6205 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.5879, allocations: 132.3 kB / 0.6206 GB, free: 8.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.5884, allocations: 188.1 kB / 0.6208 GB, free: 8.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.5891, allocations: 301.4 kB / 0.6211 GB, free: 8.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5891, allocations: 0 / 0.6211 GB, free: 8.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001818/0.5909, allocations: 0.4972 MB / 0.6216 GB, free: 8.223 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.5911, allocations: 110.1 kB / 0.6217 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5911, allocations: 3.984 kB / 0.6217 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.5915, allocations: 62.28 kB / 0.6217 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.5919, allocations: 71.61 kB / 0.6218 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004984/0.5924, allocations: 0.5681 MB / 0.6224 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.5931, allocations: 65.55 kB / 0.6224 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.5932, allocations: 18.2 kB / 0.6225 GB, free: 7.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.5932, allocations: 3.531 kB / 0.6225 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008493/0.594, allocations: 316.9 kB / 0.6228 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5941, allocations: 5.219 kB / 0.6228 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.5941, allocations: 2.375 kB / 0.6228 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.5945, allocations: 87.34 kB / 0.6228 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5945, allocations: 1.312 kB / 0.6228 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.5951, allocations: 68.92 kB / 0.6229 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.5952, allocations: 17.55 kB / 0.6229 GB, free: 7.246 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.0003275/0.5955, allocations: 246.7 kB / 0.6232 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.5956, allocations: 46.25 kB / 0.6232 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.5969, allocations: 445.8 kB / 0.6236 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.5969, allocations: 3.5 kB / 0.6236 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.597, allocations: 5.031 kB / 0.6236 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.597, allocations: 7.984 kB / 0.6237 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.5992, allocations: 0.9678 MB / 0.6246 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5993, allocations: 0 / 0.6246 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.5995, allocations: 52.03 kB / 0.6246 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/0.5997, allocations: 48.83 kB / 0.6247 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.5998, allocations: 11.98 kB / 0.6247 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004198/0.6002, allocations: 0.5562 MB / 0.6252 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6002, allocations: 4.031 kB / 0.6253 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.6012, allocations: 0.5081 MB / 0.6257 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.6015, allocations: 156.3 kB / 0.6259 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.6015, allocations: 11.94 kB / 0.6259 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.602, allocations: 47.89 kB / 0.626 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.6021, allocations: 23.91 kB / 0.626 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.6021, allocations: 8 kB / 0.626 GB, free: 4.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003788/0.6025, allocations: 330.8 kB / 0.6263 GB, free: 4.027 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6025, allocations: 4 kB / 0.6263 GB, free: 4.023 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009955/0.6035, allocations: 251.5 kB / 0.6265 GB, free: 3.777 MB / 462.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.0006926/0.6042, allocations: 248.7 kB / 0.6268 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.6055, allocations: 487.8 kB / 0.6272 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6055, allocations: 4 kB / 0.6272 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.606, allocations: 171.8 kB / 0.6274 GB, free: 2.891 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.6077, allocations: 264.9 kB / 0.6277 GB, free: 2.641 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.6093, allocations: 1.018 MB / 0.6287 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.6098, allocations: 0.8591 MB / 0.6295 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005018/0.6103, allocations: 120.2 kB / 0.6296 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.6104, allocations: 39.42 kB / 0.6297 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.6104, allocations: 3.938 kB / 0.6297 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of Templates: time 0.01918/0.6296, allocations: 9.871 MB / 0.6393 GB, free: 6.844 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)