Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001165/0.001165, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001169/0.001169, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7759/0.7759, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3736, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01454/0.3881, allocations: 15.56 MB / 0.5967 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.3937, allocations: 4.323 MB / 0.6009 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006331/0.3944, allocations: 18.28 kB / 0.6009 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008609/0.3953, allocations: 266.3 kB / 0.6012 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3966, allocations: 0.6043 MB / 0.6018 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.3982, allocations: 0.7038 MB / 0.6025 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.3991, allocations: 1.028 MB / 0.6035 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.3995, allocations: 341.1 kB / 0.6038 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.4001, allocations: 423.2 kB / 0.6042 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.4004, allocations: 319.9 kB / 0.6045 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.4004, allocations: 28 kB / 0.6045 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008875/0.4013, allocations: 0.6286 MB / 0.6051 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.4014, allocations: 99.59 kB / 0.6052 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.4016, allocations: 235.3 kB / 0.6055 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.4024, allocations: 0.7631 MB / 0.6062 GB, free: 4.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4024, allocations: 0.5 kB / 0.6062 GB, free: 4.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4024, allocations: 0.5 kB / 0.6062 GB, free: 4.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.4024, allocations: 0 / 0.6062 GB, free: 4.879 MB / 446.1 MB 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.001025/0.4034, allocations: 0.8367 MB / 0.607 GB, free: 3.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4035, allocations: 8.031 kB / 0.607 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.4036, allocations: 56.28 kB / 0.6071 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.4042, allocations: 436.3 kB / 0.6075 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4042, allocations: 16.44 kB / 0.6075 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.4042, allocations: 28 kB / 0.6075 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.4046, allocations: 216.6 kB / 0.6077 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4046, allocations: 0 / 0.6077 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4046, allocations: 7.984 kB / 0.6078 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4046, allocations: 10.75 kB / 0.6078 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.405, allocations: 161.6 kB / 0.6079 GB, free: 3.031 MB / 446.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.001276/0.4062, allocations: 0.9441 MB / 0.6088 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.4065, allocations: 142.4 kB / 0.609 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4066, allocations: 72.83 kB / 0.609 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.4068, allocations: 339.2 kB / 0.6094 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.4069, allocations: 30.56 kB / 0.6094 GB, free: 1.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.4069, allocations: 0 / 0.6094 GB, free: 1.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005229/0.4074, allocations: 238.1 kB / 0.6096 GB, free: 1.113 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.4074, allocations: 62.94 kB / 0.6097 GB, free: 1.043 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.4078, allocations: 474 kB / 0.6101 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.4078, allocations: 29.7 kB / 0.6102 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4079, allocations: 232.4 kB / 0.6104 GB, free: 308 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.408, allocations: 51.42 kB / 0.6104 GB, free: 256 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.4081, allocations: 57.69 kB / 0.6105 GB, free: 192 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4082, allocations: 362.7 kB / 0.6108 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4084, allocations: 68.81 kB / 0.6109 GB, free: 15.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.4086, allocations: 154 kB / 0.611 GB, free: 15.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.409, allocations: 168.8 kB / 0.6112 GB, free: 15.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.409, allocations: 0 / 0.6112 GB, free: 15.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004821/0.4095, allocations: 252.9 kB / 0.6114 GB, free: 15.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4095, allocations: 6.5 kB / 0.6115 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4095, allocations: 0 / 0.6115 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4095, allocations: 8.078 kB / 0.6115 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.4098, allocations: 51.91 kB / 0.6115 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4098, allocations: 0 / 0.6115 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.4101, allocations: 39.84 kB / 0.6116 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.4101, allocations: 19.86 kB / 0.6116 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002592/0.4104, allocations: 188.1 kB / 0.6117 GB, free: 14.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002258/0.4106, allocations: 157.4 kB / 0.6119 GB, free: 14.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003041/0.4109, allocations: 165.8 kB / 0.6121 GB, free: 14.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.4109, allocations: 4 kB / 0.6121 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004641/0.4114, allocations: 252.9 kB / 0.6123 GB, free: 14.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.4114, allocations: 4 kB / 0.6123 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4114, allocations: 0 / 0.6123 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.4114, allocations: 7.938 kB / 0.6123 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.4116, allocations: 51.91 kB / 0.6124 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.4117, allocations: 0 / 0.6124 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.412, allocations: 32.03 kB / 0.6124 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.412, allocations: 8 kB / 0.6124 GB, free: 14.12 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 (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.0001145/0.4121, allocations: 200.1 kB / 0.6126 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.4122, allocations: 47.42 kB / 0.6126 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/0.4127, allocations: 240.8 kB / 0.6129 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4127, allocations: 4 kB / 0.6129 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4127, allocations: 0 / 0.6129 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4127, allocations: 3.984 kB / 0.6129 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009348/0.4137, allocations: 0.7068 MB / 0.6136 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4137, allocations: 4 kB / 0.6136 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.4138, allocations: 31.92 kB / 0.6136 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4138, allocations: 7.938 kB / 0.6136 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4139, allocations: 8.094 kB / 0.6136 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4139, allocations: 3.938 kB / 0.6136 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4139, allocations: 3.984 kB / 0.6136 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.4143, allocations: 342.2 kB / 0.6139 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4145, allocations: 132.5 kB / 0.6141 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.4145, allocations: 15.92 kB / 0.6141 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.4147, allocations: 11.98 kB / 0.6141 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.4148, allocations: 15.98 kB / 0.6141 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.4148, allocations: 8 kB / 0.6141 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.4152, allocations: 338.8 kB / 0.6144 GB, free: 11.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4152, allocations: 0 / 0.6144 GB, free: 11.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006452/0.4158, allocations: 199.6 kB / 0.6146 GB, free: 11.7 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 (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.001152/0.417, allocations: 484.9 kB / 0.6151 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.4176, allocations: 271.8 kB / 0.6154 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4176, allocations: 0 / 0.6154 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.4178, allocations: 91.81 kB / 0.6154 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.4188, allocations: 201.3 kB / 0.6156 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.4199, allocations: 0.6896 MB / 0.6163 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.4203, allocations: 0.827 MB / 0.6171 GB, free: 9.266 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.4206, allocations: 95.11 kB / 0.6172 GB, free: 9.176 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.4207, allocations: 31.44 kB / 0.6172 GB, free: 9.145 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4207, allocations: 4 kB / 0.6172 GB, free: 9.141 MB / 462.1 MB Notification: Performance of Templates: time 0.01551/0.4362, allocations: 8.469 MB / 0.6255 GB, free: 0.8164 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)