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.001671/0.001671, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001809/0.001808, allocations: 192.1 kB / 17.31 MB, free: 5.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.343/1.343, 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/package.mo): time 0.7711/0.7711, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.88 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.359, allocations: 80.18 MB / 0.5815 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01699/0.376, allocations: 20.74 MB / 0.6017 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005979/0.3821, allocations: 4.956 MB / 0.6066 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006849/0.3828, allocations: 15.88 kB / 0.6066 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.3836, allocations: 279 kB / 0.6069 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.3854, allocations: 0.809 MB / 0.6077 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.3871, allocations: 0.7172 MB / 0.6084 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3885, allocations: 1.393 MB / 0.6097 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.3889, allocations: 433.8 kB / 0.6101 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000658/0.3896, allocations: 0.5797 MB / 0.6107 GB, free: 440 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.39, allocations: 441.4 kB / 0.6111 GB, free: 0 / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/0.3901, allocations: 40.05 kB / 0.6112 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.3913, allocations: 0.6316 MB / 0.6118 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.3915, allocations: 127.4 kB / 0.6119 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.3917, allocations: 290.5 kB / 0.6122 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3928, allocations: 0.8489 MB / 0.613 GB, free: 14.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3928, allocations: 0 / 0.613 GB, free: 14.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3928, allocations: 1.25 kB / 0.613 GB, free: 14.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3928, allocations: 0 / 0.613 GB, free: 14.06 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.00156/0.3944, allocations: 0.9183 MB / 0.6139 GB, free: 13.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3944, allocations: 19.95 kB / 0.6139 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.3946, allocations: 68.19 kB / 0.614 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/0.3953, allocations: 470.8 kB / 0.6144 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3953, allocations: 28.64 kB / 0.6145 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.3954, allocations: 36 kB / 0.6145 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.396, allocations: 302 kB / 0.6148 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.396, allocations: 0 / 0.6148 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.396, allocations: 12 kB / 0.6148 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3961, allocations: 11.94 kB / 0.6148 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.3966, allocations: 262.4 kB / 0.6151 GB, free: 11.87 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.00211/0.3988, allocations: 1.348 MB / 0.6164 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.3993, allocations: 254.4 kB / 0.6166 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.3995, allocations: 132.8 kB / 0.6167 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/0.4, allocations: 0.4986 MB / 0.6172 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.4, allocations: 38.56 kB / 0.6173 GB, free: 9.352 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.472e-06/0.4, allocations: 0 / 0.6173 GB, free: 9.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001708/0.4018, allocations: 0.5556 MB / 0.6178 GB, free: 8.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4018, allocations: 59.41 kB / 0.6179 GB, free: 8.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.4023, allocations: 470 kB / 0.6183 GB, free: 8.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4024, allocations: 29.7 kB / 0.6183 GB, free: 8.195 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.4026, allocations: 244.5 kB / 0.6186 GB, free: 7.953 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.4027, allocations: 86.75 kB / 0.6187 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.4028, allocations: 69.69 kB / 0.6187 GB, free: 7.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.403, allocations: 358.8 kB / 0.6191 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.4033, allocations: 120.8 kB / 0.6192 GB, free: 7.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.4036, allocations: 181 kB / 0.6194 GB, free: 7.117 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.4042, allocations: 284.5 kB / 0.6196 GB, free: 6.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4043, allocations: 0 / 0.6196 GB, free: 6.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001454/0.4057, allocations: 489.8 kB / 0.6201 GB, free: 6.348 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4057, allocations: 4 kB / 0.6201 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4058, allocations: 4.078 kB / 0.6201 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.4061, allocations: 64.73 kB / 0.6202 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.4065, allocations: 63.95 kB / 0.6202 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004317/0.4069, allocations: 0.5678 MB / 0.6208 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.4073, allocations: 47.75 kB / 0.6208 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.4074, allocations: 28.05 kB / 0.6208 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004065/0.4078, allocations: 240 kB / 0.6211 GB, free: 5.305 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003322/0.4081, allocations: 178.4 kB / 0.6212 GB, free: 5.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000544/0.4087, allocations: 265.5 kB / 0.6215 GB, free: 4.848 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.4087, allocations: 0 / 0.6215 GB, free: 4.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007477/0.4094, allocations: 364.8 kB / 0.6218 GB, free: 4.484 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4095, allocations: 10.5 kB / 0.6219 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.4095, allocations: 7.938 kB / 0.6219 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.4095, allocations: 0 / 0.6219 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.4099, allocations: 83.88 kB / 0.6219 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4099, allocations: 4 kB / 0.6219 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.4103, allocations: 39.8 kB / 0.622 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.4103, allocations: 16 kB / 0.622 GB, free: 4.328 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.0001299/0.4104, allocations: 200.1 kB / 0.6222 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.4105, allocations: 55.28 kB / 0.6222 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009131/0.4115, allocations: 422.7 kB / 0.6226 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-06/0.4115, allocations: 0 / 0.6226 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4115, allocations: 4 kB / 0.6227 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4115, allocations: 0 / 0.6227 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.413, allocations: 0.9511 MB / 0.6236 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.413, allocations: 4 kB / 0.6236 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.4132, allocations: 43.91 kB / 0.6236 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.4134, allocations: 44.95 kB / 0.6237 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.4134, allocations: 8 kB / 0.6237 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003436/0.4138, allocations: 0.5523 MB / 0.6242 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4138, allocations: 8.016 kB / 0.6242 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.4146, allocations: 499.9 kB / 0.6247 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.4148, allocations: 160.3 kB / 0.6249 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.4148, allocations: 11.94 kB / 0.6249 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.4152, allocations: 27.97 kB / 0.6249 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.4153, allocations: 23.91 kB / 0.6249 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.4153, allocations: 15.98 kB / 0.6249 GB, free: 1.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003499/0.4157, allocations: 318.9 kB / 0.6252 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4157, allocations: 0 / 0.6252 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007074/0.4164, allocations: 247.6 kB / 0.6255 GB, free: 0.6094 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.000513/0.4169, allocations: 254.1 kB / 0.6257 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.418, allocations: 463.5 kB / 0.6262 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.418, allocations: 0 / 0.6262 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.4184, allocations: 174.5 kB / 0.6263 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4195, allocations: 224.7 kB / 0.6265 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4209, allocations: 0.8219 MB / 0.6273 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.4213, allocations: 0.8471 MB / 0.6282 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.4217, allocations: 112.3 kB / 0.6283 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4218, allocations: 51.42 kB / 0.6283 GB, free: 13.63 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4218, allocations: 0 / 0.6283 GB, free: 13.63 MB / 478.1 MB Notification: Performance of Templates: time 0.01759/0.4394, allocations: 10.11 MB / 0.6382 GB, free: 3.684 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)