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.001567/0.001567, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001965/0.001965, allocations: 194.3 kB / 16.14 MB, free: 6.645 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9378/0.9378, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.3 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.17, allocations: 80.92 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02077/0.1908, allocations: 20.66 MB / 0.6039 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3436/0.5344, allocations: 4.965 MB / 0.6087 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/0.5352, allocations: 20.5 kB / 0.6087 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.5361, allocations: 223.4 kB / 0.609 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.538, allocations: 0.7523 MB / 0.6097 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.5401, allocations: 0.6345 MB / 0.6103 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.5425, allocations: 1.821 MB / 0.6121 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006728/0.5432, allocations: 377.8 kB / 0.6124 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009399/0.5442, allocations: 0.5248 MB / 0.613 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006009/0.5448, allocations: 454.2 kB / 0.6134 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.5449, allocations: 30.97 kB / 0.6134 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.5461, allocations: 0.5988 MB / 0.614 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.5462, allocations: 110.7 kB / 0.6141 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.5465, allocations: 269.7 kB / 0.6144 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.5475, allocations: 0.8214 MB / 0.6152 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5476, allocations: 2.844 kB / 0.6152 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5476, allocations: 0 / 0.6152 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5476, allocations: 0 / 0.6152 GB, free: 35.02 MB / 0.4981 GB 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.001616/0.5492, allocations: 0.9268 MB / 0.6161 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.5493, allocations: 9.188 kB / 0.6161 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.5494, allocations: 66.88 kB / 0.6162 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.55, allocations: 450.4 kB / 0.6166 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.55, allocations: 27.53 kB / 0.6166 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.5501, allocations: 37.41 kB / 0.6166 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.5507, allocations: 305.6 kB / 0.6169 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5507, allocations: 0 / 0.6169 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.5508, allocations: 12.03 kB / 0.6169 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5508, allocations: 6.594 kB / 0.617 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.5514, allocations: 264.8 kB / 0.6172 GB, free: 34.06 MB / 0.4981 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.001993/0.5534, allocations: 1.342 MB / 0.6185 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.5539, allocations: 255.1 kB / 0.6188 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.5542, allocations: 134.4 kB / 0.6189 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/0.5548, allocations: 0.4967 MB / 0.6194 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5548, allocations: 36.84 kB / 0.6194 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/0.5549, allocations: 0 / 0.6194 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001749/0.5566, allocations: 0.5624 MB / 0.62 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5567, allocations: 58.25 kB / 0.62 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.5572, allocations: 469 kB / 0.6205 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.5572, allocations: 30.2 kB / 0.6205 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.5574, allocations: 244.5 kB / 0.6207 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.5575, allocations: 85.34 kB / 0.6208 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.5576, allocations: 84.56 kB / 0.6209 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5577, allocations: 352.6 kB / 0.6212 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.558, allocations: 128.2 kB / 0.6213 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.5584, allocations: 184.7 kB / 0.6215 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.559, allocations: 274.8 kB / 0.6218 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.559, allocations: 0 / 0.6218 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001398/0.5605, allocations: 486.5 kB / 0.6222 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5605, allocations: 10.28 kB / 0.6223 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5605, allocations: 0 / 0.6223 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/0.5609, allocations: 55.69 kB / 0.6223 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.5612, allocations: 65.64 kB / 0.6224 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003641/0.5616, allocations: 0.5656 MB / 0.6229 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.5621, allocations: 65.98 kB / 0.623 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.5621, allocations: 16.38 kB / 0.623 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003581/0.5625, allocations: 243 kB / 0.6232 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002939/0.5628, allocations: 172.8 kB / 0.6234 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004978/0.5633, allocations: 265.4 kB / 0.6237 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.5633, allocations: 0 / 0.6237 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006882/0.564, allocations: 369.9 kB / 0.624 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.564, allocations: 6.062 kB / 0.624 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.564, allocations: 0 / 0.624 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.564, allocations: 6.75 kB / 0.624 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.5644, allocations: 78.78 kB / 0.6241 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.5644, allocations: 2.844 kB / 0.6241 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.5648, allocations: 57.97 kB / 0.6241 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.5649, allocations: 12.89 kB / 0.6242 GB, free: 30.22 MB / 0.4981 GB 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.0001132/0.565, allocations: 201.7 kB / 0.6244 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.5651, allocations: 50.22 kB / 0.6244 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00088/0.566, allocations: 421.9 kB / 0.6248 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.566, allocations: 6.438 kB / 0.6248 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.566, allocations: 0 / 0.6248 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.566, allocations: 7.312 kB / 0.6248 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.5673, allocations: 0.9473 MB / 0.6257 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.5673, allocations: 0 / 0.6257 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.5675, allocations: 50.72 kB / 0.6258 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.5677, allocations: 54.88 kB / 0.6258 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.5677, allocations: 13.28 kB / 0.6259 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002536/0.568, allocations: 0.5567 MB / 0.6264 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.568, allocations: 0 / 0.6264 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.5687, allocations: 498.7 kB / 0.6269 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.5688, allocations: 158.6 kB / 0.627 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.5689, allocations: 6.906 kB / 0.627 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.5692, allocations: 35.44 kB / 0.6271 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.5693, allocations: 23.34 kB / 0.6271 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.5694, allocations: 14.03 kB / 0.6271 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003606/0.5697, allocations: 322.3 kB / 0.6274 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5697, allocations: 0 / 0.6274 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007915/0.5705, allocations: 258.4 kB / 0.6277 GB, free: 28.03 MB / 0.4981 GB 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.0006069/0.5711, allocations: 246.1 kB / 0.6279 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.5723, allocations: 467 kB / 0.6283 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5723, allocations: 0 / 0.6283 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.5727, allocations: 165.6 kB / 0.6285 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.5741, allocations: 268.2 kB / 0.6287 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.5756, allocations: 0.9954 MB / 0.6297 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.576, allocations: 0.8579 MB / 0.6306 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004641/0.5764, allocations: 123.7 kB / 0.6307 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5765, allocations: 37.56 kB / 0.6307 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5765, allocations: 3.062 kB / 0.6307 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.02037/0.5969, allocations: 9.93 MB / 0.6404 GB, free: 25.47 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)