Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009206/0.0009205, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007112/0.007112, allocations: 170 kB / 16.26 MB, free: 6.68 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.72/1.72, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 8 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2343, allocations: 82.32 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0181/0.2524, allocations: 14.96 MB / 0.6026 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4283/0.6808, allocations: 4.299 MB / 0.6068 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008701/0.6817, allocations: 12.25 kB / 0.6068 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009922/0.6827, allocations: 213.2 kB / 0.607 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.6846, allocations: 0.5496 MB / 0.6075 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.6866, allocations: 0.6394 MB / 0.6082 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.6882, allocations: 1.308 MB / 0.6094 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.6886, allocations: 290.7 kB / 0.6097 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007625/0.6894, allocations: 378.1 kB / 0.6101 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.6899, allocations: 321.8 kB / 0.6104 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.6899, allocations: 13.22 kB / 0.6104 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.6912, allocations: 0.5978 MB / 0.611 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.6913, allocations: 82.81 kB / 0.6111 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.6915, allocations: 239.4 kB / 0.6113 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.6926, allocations: 0.7285 MB / 0.612 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6926, allocations: 3.375 kB / 0.612 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6926, allocations: 4 kB / 0.612 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6926, allocations: 0 / 0.612 GB, free: 33.89 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001177/0.6938, allocations: 0.7475 MB / 0.6127 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6939, allocations: 8.312 kB / 0.6127 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.939e-05/0.694, allocations: 58.81 kB / 0.6128 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.6945, allocations: 421.3 kB / 0.6132 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.6946, allocations: 20.06 kB / 0.6132 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.6946, allocations: 25.94 kB / 0.6132 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.6951, allocations: 216.8 kB / 0.6134 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6951, allocations: 0 / 0.6134 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.6951, allocations: 10.33 kB / 0.6135 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6951, allocations: 5.938 kB / 0.6135 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.6955, allocations: 177.5 kB / 0.6136 GB, free: 33.01 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.001477/0.697, allocations: 0.9505 MB / 0.6146 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.6973, allocations: 140.9 kB / 0.6147 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.6974, allocations: 79.78 kB / 0.6148 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.6977, allocations: 337.2 kB / 0.6151 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.6978, allocations: 30.56 kB / 0.6151 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.6978, allocations: 0 / 0.6151 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006239/0.6984, allocations: 262 kB / 0.6154 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.6984, allocations: 52.03 kB / 0.6154 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.699, allocations: 482.9 kB / 0.6159 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.699, allocations: 32.02 kB / 0.6159 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.6992, allocations: 228.3 kB / 0.6161 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.6992, allocations: 47.41 kB / 0.6162 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.6993, allocations: 26.48 kB / 0.6162 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.6994, allocations: 357 kB / 0.6165 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6995, allocations: 66.25 kB / 0.6166 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.6998, allocations: 164.1 kB / 0.6168 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.7001, allocations: 176.4 kB / 0.6169 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7001, allocations: 5.656 kB / 0.6169 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004635/0.7006, allocations: 262.7 kB / 0.6172 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.7007, allocations: 112 kB / 0.6173 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7007, allocations: 2.734 kB / 0.6173 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7007, allocations: 2.938 kB / 0.6173 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.7009, allocations: 51.66 kB / 0.6173 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.701, allocations: 5.781 kB / 0.6174 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.7013, allocations: 46.69 kB / 0.6174 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.7014, allocations: 15.59 kB / 0.6174 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.7014, allocations: 6.688 kB / 0.6174 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003755/0.7018, allocations: 189.5 kB / 0.6176 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.7018, allocations: 2.938 kB / 0.6176 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-06/0.7018, allocations: 192 / 0.6176 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.702, allocations: 47.64 kB / 0.6176 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.702, allocations: 2.812 kB / 0.6176 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.7023, allocations: 46.34 kB / 0.6177 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.7023, allocations: 9.531 kB / 0.6177 GB, free: 31.03 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.7025, allocations: 240.5 kB / 0.6179 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.7026, allocations: 49.77 kB / 0.618 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.7031, allocations: 259.2 kB / 0.6182 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7031, allocations: 0 / 0.6182 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.7032, allocations: 0 / 0.6182 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7032, allocations: 10.25 kB / 0.6182 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/0.7041, allocations: 0.7124 MB / 0.6189 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.7041, allocations: 3.281 kB / 0.6189 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.7042, allocations: 35.86 kB / 0.619 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7042, allocations: 0 / 0.619 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.7042, allocations: 6.594 kB / 0.619 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7043, allocations: 3.312 kB / 0.619 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7043, allocations: 0 / 0.619 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.7047, allocations: 361.5 kB / 0.6193 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.7048, allocations: 148.6 kB / 0.6195 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.7048, allocations: 6.562 kB / 0.6195 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.7051, allocations: 20.88 kB / 0.6195 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.7051, allocations: 22.67 kB / 0.6195 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.7052, allocations: 8.938 kB / 0.6195 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003093/0.7055, allocations: 336.4 kB / 0.6198 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7055, allocations: 0 / 0.6198 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006923/0.7062, allocations: 201.9 kB / 0.62 GB, free: 29.96 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.7073, allocations: 481.1 kB / 0.6205 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006413/0.708, allocations: 283.4 kB / 0.6208 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.708, allocations: 3.938 kB / 0.6208 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.7082, allocations: 89.53 kB / 0.6209 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.7095, allocations: 220.2 kB / 0.6211 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.7107, allocations: 0.8628 MB / 0.6219 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.711, allocations: 0.8241 MB / 0.6227 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003035/0.7113, allocations: 94.47 kB / 0.6228 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.7114, allocations: 39.16 kB / 0.6228 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.7114, allocations: 0 / 0.6228 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.01604/0.7275, allocations: 8.277 MB / 0.6309 GB, free: 27.86 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)