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.001123/0.001123, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001043/0.001043, allocations: 196.4 kB / 17.31 MB, free: 5.824 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8167/0.8167, allocations: 135.1 MB / 426.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.91 kB / 0.5067 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3622, allocations: 80.9 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01585/0.3781, allocations: 20.74 MB / 0.606 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005687/0.3839, allocations: 4.955 MB / 0.6109 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008297/0.3847, allocations: 19.88 kB / 0.6109 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.3856, allocations: 270.1 kB / 0.6111 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.3877, allocations: 0.8238 MB / 0.6119 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.3896, allocations: 0.711 MB / 0.6126 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.3912, allocations: 1.388 MB / 0.614 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005232/0.3918, allocations: 438.5 kB / 0.6144 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.3927, allocations: 0.572 MB / 0.615 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.3932, allocations: 450.1 kB / 0.6154 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.3933, allocations: 36 kB / 0.6154 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3944, allocations: 0.6316 MB / 0.616 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3946, allocations: 127.5 kB / 0.6162 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.3948, allocations: 286.5 kB / 0.6164 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.396, allocations: 0.8488 MB / 0.6173 GB, free: 10.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.396, allocations: 11.94 kB / 0.6173 GB, free: 10.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.396, allocations: 0 / 0.6173 GB, free: 10.31 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.396, allocations: 0 / 0.6173 GB, free: 10.31 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.001571/0.3976, allocations: 0.9226 MB / 0.6182 GB, free: 9.336 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3976, allocations: 9.109 kB / 0.6182 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.3978, allocations: 64.19 kB / 0.6182 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008023/0.3986, allocations: 478.7 kB / 0.6187 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3986, allocations: 28.66 kB / 0.6187 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.3987, allocations: 32 kB / 0.6188 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.3993, allocations: 310 kB / 0.6191 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3994, allocations: 3.938 kB / 0.6191 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3994, allocations: 19.94 kB / 0.6191 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3994, allocations: 4 kB / 0.6191 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.4, allocations: 258.4 kB / 0.6193 GB, free: 8.109 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.002121/0.4022, allocations: 1.341 MB / 0.6206 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.4027, allocations: 251.3 kB / 0.6209 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.403, allocations: 140.8 kB / 0.621 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004686/0.4034, allocations: 0.4908 MB / 0.6215 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4035, allocations: 38.59 kB / 0.6215 GB, free: 5.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.4035, allocations: 0 / 0.6215 GB, free: 5.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001678/0.4052, allocations: 0.565 MB / 0.6221 GB, free: 5.012 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4052, allocations: 55.41 kB / 0.6221 GB, free: 4.945 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.4057, allocations: 470 kB / 0.6226 GB, free: 4.477 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.4058, allocations: 33.7 kB / 0.6226 GB, free: 4.438 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4059, allocations: 236.6 kB / 0.6228 GB, free: 4.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.406, allocations: 86.69 kB / 0.6229 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.4061, allocations: 85.58 kB / 0.623 GB, free: 4.023 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4063, allocations: 354.8 kB / 0.6233 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.4066, allocations: 128.7 kB / 0.6235 GB, free: 3.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.407, allocations: 184.8 kB / 0.6236 GB, free: 3.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.4076, allocations: 276.2 kB / 0.6239 GB, free: 3.062 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4076, allocations: 0 / 0.6239 GB, free: 3.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00151/0.4091, allocations: 487.6 kB / 0.6244 GB, free: 2.578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4091, allocations: 10.48 kB / 0.6244 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4092, allocations: 4 kB / 0.6244 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.4095, allocations: 60.8 kB / 0.6244 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.4099, allocations: 67.89 kB / 0.6245 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004669/0.4104, allocations: 0.5639 MB / 0.6251 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.4108, allocations: 51.88 kB / 0.6251 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4108, allocations: 15.98 kB / 0.6251 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004045/0.4112, allocations: 244 kB / 0.6254 GB, free: 1.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003266/0.4116, allocations: 178.5 kB / 0.6255 GB, free: 1.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005512/0.4121, allocations: 257.5 kB / 0.6258 GB, free: 1.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.4122, allocations: 0 / 0.6258 GB, free: 1.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007336/0.4129, allocations: 370.8 kB / 0.6261 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.4129, allocations: 4 kB / 0.6261 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4129, allocations: 7.938 kB / 0.6261 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/0.4129, allocations: 3.938 kB / 0.6261 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.4133, allocations: 75.94 kB / 0.6262 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.4133, allocations: 3.938 kB / 0.6262 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.4137, allocations: 55.92 kB / 0.6263 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.4138, allocations: 15.98 kB / 0.6263 GB, free: 0.5586 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.0001592/0.4139, allocations: 200.1 kB / 0.6265 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.414, allocations: 55.28 kB / 0.6265 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009551/0.415, allocations: 408.1 kB / 0.6269 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.415, allocations: 4 kB / 0.6269 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.415, allocations: 0 / 0.6269 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.415, allocations: 7.984 kB / 0.6269 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.4166, allocations: 0.9476 MB / 0.6279 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.4167, allocations: 8.062 kB / 0.6279 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.4169, allocations: 47.97 kB / 0.6279 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.4171, allocations: 44.83 kB / 0.6279 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.4171, allocations: 7.984 kB / 0.628 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003544/0.4175, allocations: 0.5601 MB / 0.6285 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4175, allocations: 3.938 kB / 0.6285 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.4183, allocations: 499 kB / 0.629 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.4185, allocations: 156.4 kB / 0.6291 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.4185, allocations: 7.938 kB / 0.6291 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.4188, allocations: 23.97 kB / 0.6292 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.4189, allocations: 23.97 kB / 0.6292 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4189, allocations: 8 kB / 0.6292 GB, free: 13.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.4193, allocations: 334.8 kB / 0.6295 GB, free: 13.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4193, allocations: 0 / 0.6295 GB, free: 13.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007573/0.4201, allocations: 247.5 kB / 0.6297 GB, free: 12.84 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.0005051/0.4206, allocations: 251.5 kB / 0.63 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4217, allocations: 467.7 kB / 0.6304 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4217, allocations: 0 / 0.6304 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.4221, allocations: 167.8 kB / 0.6306 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.423, allocations: 224 kB / 0.6308 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4244, allocations: 0.8203 MB / 0.6316 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.4248, allocations: 0.8549 MB / 0.6324 GB, free: 10.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003722/0.4252, allocations: 116.1 kB / 0.6326 GB, free: 9.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.4253, allocations: 39.44 kB / 0.6326 GB, free: 9.875 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4253, allocations: 0 / 0.6326 GB, free: 9.875 MB / 478.1 MB Notification: Performance of Templates: time 0.01698/0.4423, allocations: 10.12 MB / 0.6425 GB, free: 15.92 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)