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.0009365/0.0009365, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001057/0.001057, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7448/0.7448, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 8 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3463, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01817/0.3645, allocations: 19.04 MB / 0.6017 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.3705, allocations: 4.65 MB / 0.6062 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.3708, allocations: 15.53 kB / 0.6062 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005296/0.3714, allocations: 200.9 kB / 0.6064 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.3726, allocations: 0.6433 MB / 0.607 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3739, allocations: 0.6014 MB / 0.6076 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.3754, allocations: 1.553 MB / 0.6091 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.3759, allocations: 341.2 kB / 0.6095 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.3766, allocations: 0.4932 MB / 0.6099 GB, free: 340 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.3771, allocations: 422.9 kB / 0.6103 GB, free: 100 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.3772, allocations: 24.69 kB / 0.6104 GB, free: 96 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.3781, allocations: 0.5193 MB / 0.6109 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3782, allocations: 111.2 kB / 0.611 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.3783, allocations: 126.8 kB / 0.6111 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.3789, allocations: 0.5548 MB / 0.6116 GB, free: 15.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3789, allocations: 0 / 0.6116 GB, free: 15.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3789, allocations: 0 / 0.6116 GB, free: 15.31 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3789, allocations: 0 / 0.6116 GB, free: 15.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.001275/0.3802, allocations: 0.8367 MB / 0.6125 GB, free: 14.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.3803, allocations: 13.84 kB / 0.6125 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/0.3804, allocations: 66.97 kB / 0.6125 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.3809, allocations: 434.1 kB / 0.613 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.381, allocations: 27.62 kB / 0.613 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.381, allocations: 35.78 kB / 0.613 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.3816, allocations: 318.2 kB / 0.6133 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3817, allocations: 0 / 0.6133 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3817, allocations: 10.16 kB / 0.6133 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3817, allocations: 6.875 kB / 0.6133 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.3823, allocations: 280.2 kB / 0.6136 GB, free: 13.86 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.001947/0.3843, allocations: 1.354 MB / 0.6149 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.3848, allocations: 268.5 kB / 0.6152 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.3851, allocations: 149 kB / 0.6153 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/0.3855, allocations: 0.4911 MB / 0.6158 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3855, allocations: 36.22 kB / 0.6158 GB, free: 11.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.3855, allocations: 4 kB / 0.6158 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001599/0.3871, allocations: 0.583 MB / 0.6164 GB, free: 11.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3872, allocations: 62.86 kB / 0.6165 GB, free: 11.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.3876, allocations: 460.8 kB / 0.6169 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3877, allocations: 32.36 kB / 0.6169 GB, free: 11.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3879, allocations: 251.4 kB / 0.6172 GB, free: 10.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.3879, allocations: 80.75 kB / 0.6173 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.388, allocations: 10.22 kB / 0.6173 GB, free: 10.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3881, allocations: 356.9 kB / 0.6176 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.3884, allocations: 126.5 kB / 0.6177 GB, free: 10.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.3887, allocations: 179.5 kB / 0.6179 GB, free: 10.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.389, allocations: 143.3 kB / 0.618 GB, free: 10.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3891, allocations: 0 / 0.618 GB, free: 10.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009224/0.39, allocations: 427 kB / 0.6184 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.39, allocations: 108.2 kB / 0.6185 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3901, allocations: 4.969 kB / 0.6185 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.3904, allocations: 52.98 kB / 0.6186 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.3907, allocations: 79.3 kB / 0.6187 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00038/0.3911, allocations: 0.564 MB / 0.6192 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.3916, allocations: 69.02 kB / 0.6193 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3916, allocations: 18.7 kB / 0.6193 GB, free: 9.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/0.3916, allocations: 3.688 kB / 0.6193 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006991/0.3923, allocations: 323.1 kB / 0.6196 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.3924, allocations: 1.219 kB / 0.6196 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.3924, allocations: 1.797 kB / 0.6196 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3928, allocations: 84.02 kB / 0.6197 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3928, allocations: 5.125 kB / 0.6197 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.3932, allocations: 76.58 kB / 0.6198 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.3932, allocations: 13.83 kB / 0.6198 GB, free: 9.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.3934, allocations: 247.2 kB / 0.62 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.3935, allocations: 45.41 kB / 0.6201 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009148/0.3944, allocations: 436.4 kB / 0.6205 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.3945, allocations: 3.531 kB / 0.6205 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3945, allocations: 3.953 kB / 0.6205 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3945, allocations: 0.9375 kB / 0.6205 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.3959, allocations: 0.9758 MB / 0.6215 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3959, allocations: 1.25 kB / 0.6215 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.3962, allocations: 51.3 kB / 0.6215 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.3963, allocations: 43.55 kB / 0.6215 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3964, allocations: 7.438 kB / 0.6216 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/0.3967, allocations: 0.5628 MB / 0.6221 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3967, allocations: 1.062 kB / 0.6221 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.3975, allocations: 0.5101 MB / 0.6226 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.3977, allocations: 161.6 kB / 0.6228 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.3977, allocations: 7.281 kB / 0.6228 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.3981, allocations: 47.33 kB / 0.6228 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.3981, allocations: 21.53 kB / 0.6228 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3982, allocations: 13.72 kB / 0.6228 GB, free: 6.711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.3985, allocations: 320.1 kB / 0.6231 GB, free: 6.516 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3985, allocations: 0 / 0.6231 GB, free: 6.516 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006782/0.3992, allocations: 244.5 kB / 0.6234 GB, free: 6.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004444/0.3997, allocations: 258.1 kB / 0.6236 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.4007, allocations: 493.7 kB / 0.6241 GB, free: 5.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4008, allocations: 0 / 0.6241 GB, free: 5.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.4012, allocations: 184 kB / 0.6243 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.4024, allocations: 253.9 kB / 0.6245 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4037, allocations: 0.9787 MB / 0.6255 GB, free: 4.402 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.4041, allocations: 0.8474 MB / 0.6263 GB, free: 3.527 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004065/0.4045, allocations: 124.2 kB / 0.6264 GB, free: 3.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.4046, allocations: 43.44 kB / 0.6265 GB, free: 3.363 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4046, allocations: 0 / 0.6265 GB, free: 3.363 MB / 462.1 MB Notification: Performance of Templates: time 0.01524/0.4199, allocations: 9.566 MB / 0.6358 GB, free: 9.973 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)