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: 104.8 kB / 16.27 MB, free: 5.98 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.001157/0.001157, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8287/0.8287, allocations: 135.1 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 55.91 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3681, allocations: 80.91 MB / 0.585 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01583/0.3839, allocations: 20.74 MB / 0.6053 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005443/0.3894, allocations: 4.958 MB / 0.6101 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006868/0.3901, allocations: 15.88 kB / 0.6101 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007228/0.3909, allocations: 278 kB / 0.6104 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.3929, allocations: 0.8191 MB / 0.6112 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.3948, allocations: 0.6994 MB / 0.6119 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.3966, allocations: 1.387 MB / 0.6132 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006583/0.3973, allocations: 430.5 kB / 0.6136 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3983, allocations: 0.5642 MB / 0.6142 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.399, allocations: 450 kB / 0.6146 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.839e-05/0.3991, allocations: 36 kB / 0.6146 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.4004, allocations: 0.6394 MB / 0.6153 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.4005, allocations: 119.6 kB / 0.6154 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.4008, allocations: 294.4 kB / 0.6157 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.402, allocations: 0.8372 MB / 0.6165 GB, free: 10.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4021, allocations: 0 / 0.6165 GB, free: 10.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4021, allocations: 0 / 0.6165 GB, free: 10.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.4021, allocations: 0 / 0.6165 GB, free: 10.34 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.001585/0.4037, allocations: 0.9227 MB / 0.6174 GB, free: 9.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4037, allocations: 13.05 kB / 0.6174 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.4039, allocations: 64.19 kB / 0.6175 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.4045, allocations: 466.8 kB / 0.6179 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.4045, allocations: 24.66 kB / 0.6179 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.4046, allocations: 36 kB / 0.618 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.4052, allocations: 305.9 kB / 0.6182 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4053, allocations: 0 / 0.6182 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.4053, allocations: 19.98 kB / 0.6183 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4053, allocations: 8 kB / 0.6183 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.406, allocations: 258.4 kB / 0.6185 GB, free: 8.156 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.002209/0.4082, allocations: 1.341 MB / 0.6198 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.4087, allocations: 265.6 kB / 0.6201 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.409, allocations: 128.8 kB / 0.6202 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004797/0.4095, allocations: 0.5025 MB / 0.6207 GB, free: 5.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4096, allocations: 34.56 kB / 0.6207 GB, free: 5.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.4096, allocations: 0 / 0.6207 GB, free: 5.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001874/0.4115, allocations: 0.561 MB / 0.6213 GB, free: 5.055 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.4115, allocations: 63.34 kB / 0.6213 GB, free: 4.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.4121, allocations: 470 kB / 0.6218 GB, free: 4.512 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.4121, allocations: 33.7 kB / 0.6218 GB, free: 4.473 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.4123, allocations: 236.6 kB / 0.622 GB, free: 4.234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.4124, allocations: 94.67 kB / 0.6221 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.4125, allocations: 77.58 kB / 0.6222 GB, free: 4.059 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4127, allocations: 354.8 kB / 0.6225 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.413, allocations: 124.8 kB / 0.6227 GB, free: 3.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.4134, allocations: 180.8 kB / 0.6228 GB, free: 3.383 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.4141, allocations: 276.2 kB / 0.6231 GB, free: 3.105 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4141, allocations: 224 / 0.6231 GB, free: 3.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001692/0.4158, allocations: 487.4 kB / 0.6236 GB, free: 2.621 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4158, allocations: 4 kB / 0.6236 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4158, allocations: 4 kB / 0.6236 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.4162, allocations: 56.81 kB / 0.6236 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.4166, allocations: 71.88 kB / 0.6237 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/0.417, allocations: 0.5639 MB / 0.6242 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.4175, allocations: 51.73 kB / 0.6243 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.4175, allocations: 20.06 kB / 0.6243 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004394/0.418, allocations: 240 kB / 0.6245 GB, free: 1.586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003594/0.4183, allocations: 174 kB / 0.6247 GB, free: 1.398 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005963/0.419, allocations: 258.6 kB / 0.625 GB, free: 1.141 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.419, allocations: 3.938 kB / 0.625 GB, free: 1.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000836/0.4198, allocations: 363.1 kB / 0.6253 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4198, allocations: 8 kB / 0.6253 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4198, allocations: 7.938 kB / 0.6253 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/0.4198, allocations: 0 / 0.6253 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.4203, allocations: 83.88 kB / 0.6254 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4203, allocations: 7.984 kB / 0.6254 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.4207, allocations: 43.92 kB / 0.6255 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.4208, allocations: 19.98 kB / 0.6255 GB, free: 0.6094 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.0001485/0.4209, allocations: 200.1 kB / 0.6257 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.421, allocations: 55.28 kB / 0.6257 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.422, allocations: 419.9 kB / 0.6261 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.422, allocations: 0 / 0.6261 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4221, allocations: 7.938 kB / 0.6261 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4221, allocations: 3.984 kB / 0.6261 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.4236, allocations: 0.9486 MB / 0.6271 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4237, allocations: 3.938 kB / 0.6271 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.4239, allocations: 43.97 kB / 0.6271 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.4241, allocations: 52.89 kB / 0.6271 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.4241, allocations: 4 kB / 0.6272 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003589/0.4245, allocations: 0.5562 MB / 0.6277 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4245, allocations: 4.031 kB / 0.6277 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.4254, allocations: 499 kB / 0.6282 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.4256, allocations: 156.4 kB / 0.6283 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/0.4256, allocations: 15.92 kB / 0.6283 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.426, allocations: 23.97 kB / 0.6284 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.4261, allocations: 15.97 kB / 0.6284 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.4261, allocations: 12 kB / 0.6284 GB, free: 13.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.4265, allocations: 322.9 kB / 0.6287 GB, free: 13.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4265, allocations: 0 / 0.6287 GB, free: 13.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008122/0.4273, allocations: 259.5 kB / 0.6289 GB, free: 12.88 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.0005299/0.4278, allocations: 246.9 kB / 0.6292 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.4291, allocations: 480.3 kB / 0.6296 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4291, allocations: 4 kB / 0.6296 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.4296, allocations: 164.4 kB / 0.6298 GB, free: 12.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4307, allocations: 232 kB / 0.63 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4322, allocations: 0.8661 MB / 0.6309 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.4327, allocations: 0.8549 MB / 0.6317 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.4328, allocations: 43.42 kB / 0.6317 GB, free: 9.961 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4328, allocations: 0 / 0.6317 GB, free: 9.961 MB / 478.1 MB Notification: Performance of Templates: time 0.01407/0.4469, allocations: 10.12 MB / 0.6416 GB, free: 15.95 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)