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.006328/0.006328, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001238/0.001238, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.617/1.617, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5183, allocations: 80.93 MB / 0.6646 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02532/0.5437, allocations: 20.75 MB / 0.6849 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007965/0.5517, allocations: 4.949 MB / 0.6897 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008811/0.5526, allocations: 18.88 kB / 0.6897 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.5536, allocations: 268 kB / 0.69 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.5561, allocations: 0.8167 MB / 0.6908 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.5582, allocations: 0.7138 MB / 0.6915 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002207/0.5604, allocations: 1.383 MB / 0.6928 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.5612, allocations: 439.5 kB / 0.6933 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.5627, allocations: 0.5731 MB / 0.6938 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009757/0.5637, allocations: 445.9 kB / 0.6943 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.5638, allocations: 37.38 kB / 0.6943 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.5654, allocations: 0.6274 MB / 0.6949 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.5657, allocations: 129.2 kB / 0.695 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.5662, allocations: 291.6 kB / 0.6953 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.5678, allocations: 0.8683 MB / 0.6961 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5678, allocations: 0 / 0.6961 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5678, allocations: 0 / 0.6961 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.5678, allocations: 0 / 0.6961 GB, free: 14.61 MB / 0.5294 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.001964/0.5698, allocations: 0.9413 MB / 0.6971 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5698, allocations: 9.375 kB / 0.6971 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.57, allocations: 67.77 kB / 0.6971 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.5709, allocations: 486.8 kB / 0.6976 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.571, allocations: 27.62 kB / 0.6976 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.571, allocations: 30.56 kB / 0.6977 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.5717, allocations: 308.3 kB / 0.698 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5718, allocations: 4 kB / 0.698 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.5718, allocations: 13.97 kB / 0.698 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5718, allocations: 7.594 kB / 0.698 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.5725, allocations: 261.4 kB / 0.6982 GB, free: 13.05 MB / 0.5294 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.002337/0.5748, allocations: 1.34 MB / 0.6995 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.5754, allocations: 261.2 kB / 0.6998 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.5757, allocations: 144.9 kB / 0.6999 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004069/0.5761, allocations: 0.4953 MB / 0.7004 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.5762, allocations: 35.84 kB / 0.7004 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.5762, allocations: 0 / 0.7004 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001756/0.5779, allocations: 0.5618 MB / 0.701 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.578, allocations: 58.34 kB / 0.701 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.5786, allocations: 465.6 kB / 0.7015 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.5786, allocations: 39.89 kB / 0.7015 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.5788, allocations: 243.7 kB / 0.7018 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.5789, allocations: 94.14 kB / 0.7019 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.579, allocations: 73.81 kB / 0.7019 GB, free: 10 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5792, allocations: 357.2 kB / 0.7023 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.5795, allocations: 126.9 kB / 0.7024 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.5799, allocations: 181.4 kB / 0.7026 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.5806, allocations: 270.5 kB / 0.7028 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.5806, allocations: 1.469 kB / 0.7028 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001586/0.5822, allocations: 490.7 kB / 0.7033 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5822, allocations: 8.844 kB / 0.7033 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5822, allocations: 1.156 kB / 0.7033 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.5826, allocations: 53.69 kB / 0.7033 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.5829, allocations: 66.92 kB / 0.7034 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004463/0.5834, allocations: 0.5748 MB / 0.704 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.5839, allocations: 50.73 kB / 0.704 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.5839, allocations: 13.81 kB / 0.704 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004229/0.5844, allocations: 241.5 kB / 0.7043 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003584/0.5847, allocations: 177.5 kB / 0.7044 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005886/0.5853, allocations: 264.1 kB / 0.7047 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.5853, allocations: 0 / 0.7047 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000825/0.5862, allocations: 376.7 kB / 0.705 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5862, allocations: 11.94 kB / 0.7051 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5862, allocations: 3.984 kB / 0.7051 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.5862, allocations: 0 / 0.7051 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.5866, allocations: 83.88 kB / 0.7051 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5866, allocations: 4 kB / 0.7051 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.5871, allocations: 47.84 kB / 0.7052 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.5871, allocations: 12 kB / 0.7052 GB, free: 7.477 MB / 0.5294 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.0001636/0.5873, allocations: 196.2 kB / 0.7054 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.5874, allocations: 59.59 kB / 0.7054 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009937/0.5884, allocations: 421 kB / 0.7058 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5884, allocations: 3.984 kB / 0.7058 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5884, allocations: 4 kB / 0.7059 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5884, allocations: 7.938 kB / 0.7059 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.5901, allocations: 0.9483 MB / 0.7068 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5901, allocations: 4.031 kB / 0.7068 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.5903, allocations: 43.97 kB / 0.7068 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.5905, allocations: 48.77 kB / 0.7069 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.5906, allocations: 8 kB / 0.7069 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003843/0.5909, allocations: 0.5601 MB / 0.7074 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.591, allocations: 8.094 kB / 0.7074 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.5918, allocations: 491.5 kB / 0.7079 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.592, allocations: 156.7 kB / 0.7081 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.5921, allocations: 11.94 kB / 0.7081 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.5924, allocations: 27.95 kB / 0.7081 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.5925, allocations: 15.98 kB / 0.7081 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.5925, allocations: 11.98 kB / 0.7081 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003669/0.5929, allocations: 330.9 kB / 0.7084 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5929, allocations: 0 / 0.7084 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007974/0.5937, allocations: 247.5 kB / 0.7087 GB, free: 3.746 MB / 0.5294 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.0005832/0.5943, allocations: 248 kB / 0.7089 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.5956, allocations: 478.1 kB / 0.7094 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5956, allocations: 4 kB / 0.7094 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.596, allocations: 163.8 kB / 0.7095 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.5971, allocations: 221.2 kB / 0.7097 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.5985, allocations: 0.836 MB / 0.7106 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.599, allocations: 0.8587 MB / 0.7114 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004/0.5994, allocations: 116.1 kB / 0.7115 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.5995, allocations: 43.42 kB / 0.7115 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.5995, allocations: 0 / 0.7115 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of Templates: time 0.01786/0.6174, allocations: 10.18 MB / 0.7215 GB, free: 6.703 MB / 0.545 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)