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.001155/0.001155, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.008509/0.008509, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.636/1.636, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.105/1.105, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 8 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.4321/0.6382, allocations: 20.05 MB / 0.6075 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006899/0.6451, allocations: 4.923 MB / 0.6124 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006799/0.6458, allocations: 15.97 kB / 0.6124 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000771/0.6466, allocations: 223 kB / 0.6126 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.6489, allocations: 0.7428 MB / 0.6133 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.6509, allocations: 0.645 MB / 0.6139 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.6527, allocations: 1.816 MB / 0.6157 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.6532, allocations: 376.6 kB / 0.6161 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008289/0.6541, allocations: 0.5095 MB / 0.6166 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.6546, allocations: 443.2 kB / 0.617 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.6547, allocations: 26.47 kB / 0.617 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.6558, allocations: 0.6011 MB / 0.6176 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.6559, allocations: 105.1 kB / 0.6177 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.6562, allocations: 294.5 kB / 0.618 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009627/0.6571, allocations: 0.802 MB / 0.6188 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6572, allocations: 0 / 0.6188 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6572, allocations: 0 / 0.6188 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.6572, allocations: 3.938 kB / 0.6188 GB, free: 33.22 MB / 0.4981 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.001333/0.6585, allocations: 0.8314 MB / 0.6196 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6586, allocations: 12.16 kB / 0.6196 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.6587, allocations: 64.28 kB / 0.6197 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.6592, allocations: 455.9 kB / 0.6201 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.6592, allocations: 27.25 kB / 0.6201 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.6593, allocations: 38 kB / 0.6201 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.6599, allocations: 330.3 kB / 0.6205 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6599, allocations: 0 / 0.6205 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.66, allocations: 11.06 kB / 0.6205 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.66, allocations: 6.656 kB / 0.6205 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.6606, allocations: 282.5 kB / 0.6208 GB, free: 32.27 MB / 0.4981 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.001906/0.6625, allocations: 1.355 MB / 0.6221 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.663, allocations: 263.7 kB / 0.6223 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.6633, allocations: 152.6 kB / 0.6225 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.6638, allocations: 0.4943 MB / 0.623 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.6638, allocations: 33.38 kB / 0.623 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.532e-06/0.6638, allocations: 4 kB / 0.623 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.0018/0.6656, allocations: 0.5903 MB / 0.6236 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.6657, allocations: 54.34 kB / 0.6236 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.6661, allocations: 471 kB / 0.6241 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.6662, allocations: 36.42 kB / 0.6241 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.6663, allocations: 247.8 kB / 0.6243 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.6664, allocations: 82.55 kB / 0.6244 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.6665, allocations: 39.66 kB / 0.6245 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.6665, allocations: 351.8 kB / 0.6248 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.6668, allocations: 129.7 kB / 0.6249 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.6672, allocations: 186.4 kB / 0.6251 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.6678, allocations: 298.2 kB / 0.6254 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6678, allocations: 3.938 kB / 0.6254 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001486/0.6693, allocations: 0.5014 MB / 0.6259 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.6694, allocations: 110.3 kB / 0.626 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6694, allocations: 0 / 0.626 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.6697, allocations: 59.12 kB / 0.626 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.6701, allocations: 78.19 kB / 0.6261 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003309/0.6704, allocations: 0.5693 MB / 0.6267 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.6709, allocations: 68.41 kB / 0.6267 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.671, allocations: 17.81 kB / 0.6267 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.671, allocations: 9 kB / 0.6268 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006806/0.6717, allocations: 317.3 kB / 0.6271 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.6717, allocations: 2.875 kB / 0.6271 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.6717, allocations: 0 / 0.6271 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.6721, allocations: 89.42 kB / 0.6271 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.6721, allocations: 2.812 kB / 0.6271 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.6725, allocations: 60.23 kB / 0.6272 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.6726, allocations: 18.64 kB / 0.6272 GB, free: 29.14 MB / 0.4981 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.0002322/0.6728, allocations: 244.3 kB / 0.6275 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.6729, allocations: 50.19 kB / 0.6275 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009434/0.6738, allocations: 434.4 kB / 0.6279 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6739, allocations: 6.812 kB / 0.6279 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6739, allocations: 0 / 0.6279 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.6739, allocations: 10.14 kB / 0.6279 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.6753, allocations: 0.9622 MB / 0.6289 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6753, allocations: 2.562 kB / 0.6289 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.6756, allocations: 54.42 kB / 0.6289 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/0.6758, allocations: 47.02 kB / 0.629 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.6758, allocations: 15.77 kB / 0.629 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002717/0.6761, allocations: 0.5567 MB / 0.6295 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6761, allocations: 3.219 kB / 0.6295 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/0.6768, allocations: 0.501 MB / 0.63 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.677, allocations: 167.3 kB / 0.6302 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.6771, allocations: 6.812 kB / 0.6302 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.6774, allocations: 46.5 kB / 0.6302 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.6775, allocations: 25.47 kB / 0.6303 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.6775, allocations: 12.09 kB / 0.6303 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003156/0.6779, allocations: 323.4 kB / 0.6306 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.82e-07/0.6779, allocations: 0 / 0.6306 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007762/0.6786, allocations: 253.6 kB / 0.6308 GB, free: 27.42 MB / 0.4981 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.0005095/0.6792, allocations: 247.8 kB / 0.6311 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.6804, allocations: 0.4944 MB / 0.6315 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6804, allocations: 0 / 0.6315 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.6808, allocations: 183.3 kB / 0.6317 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.6823, allocations: 251.1 kB / 0.632 GB, free: 27.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.6835, allocations: 1.025 MB / 0.633 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6838, allocations: 0.8545 MB / 0.6338 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004393/0.6842, allocations: 117.4 kB / 0.6339 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.6843, allocations: 38.42 kB / 0.6339 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.6843, allocations: 3.344 kB / 0.6339 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.01925/0.7036, allocations: 9.875 MB / 0.6436 GB, free: 24.86 MB / 0.4981 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)