Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 84.38 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.001109/0.001109, 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.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004702, allocations: 11.98 kB / 0.507 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.227, allocations: 82.3 MB / 0.5874 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.3859/0.6129, allocations: 20.48 MB / 0.6074 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006698/0.6196, allocations: 4.912 MB / 0.6122 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009672/0.6206, allocations: 16.22 kB / 0.6122 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009006/0.6215, allocations: 221.8 kB / 0.6124 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.6238, allocations: 0.6854 MB / 0.6131 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.6256, allocations: 0.5799 MB / 0.6136 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.6273, allocations: 1.62 MB / 0.6152 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/0.6279, allocations: 387.6 kB / 0.6156 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008688/0.6287, allocations: 0.5185 MB / 0.6161 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.6293, allocations: 431.4 kB / 0.6165 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.182e-05/0.6294, allocations: 21.34 kB / 0.6165 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.6303, allocations: 0.5274 MB / 0.617 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.6305, allocations: 106 kB / 0.6171 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.6306, allocations: 155.7 kB / 0.6173 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.6312, allocations: 0.7624 MB / 0.618 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6312, allocations: 2.375 kB / 0.618 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6312, allocations: 0 / 0.618 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.6313, allocations: 0 / 0.618 GB, free: 33.77 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001335/0.6326, allocations: 0.9419 MB / 0.619 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6326, allocations: 8.625 kB / 0.619 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.6328, allocations: 78.86 kB / 0.619 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.6334, allocations: 0.5286 MB / 0.6195 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.6335, allocations: 25.69 kB / 0.6196 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.6335, allocations: 45.44 kB / 0.6196 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.6341, allocations: 309.5 kB / 0.6199 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6341, allocations: 0 / 0.6199 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.6341, allocations: 17.14 kB / 0.6199 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.6341, allocations: 13.5 kB / 0.6199 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.6346, allocations: 271.1 kB / 0.6202 GB, free: 32.78 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.001945/0.6366, allocations: 1.577 MB / 0.6217 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.6369, allocations: 195.2 kB / 0.6219 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.6371, allocations: 100.4 kB / 0.622 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/0.6373, allocations: 423.5 kB / 0.6224 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.6374, allocations: 33.78 kB / 0.6225 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.515e-06/0.6374, allocations: 0 / 0.6225 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.000646/0.638, allocations: 345.5 kB / 0.6228 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.6381, allocations: 57.72 kB / 0.6228 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.6387, allocations: 0.6424 MB / 0.6235 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.6387, allocations: 35.8 kB / 0.6235 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.6389, allocations: 308.9 kB / 0.6238 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.6389, allocations: 70.19 kB / 0.6239 GB, free: 31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.639, allocations: 9.531 kB / 0.6239 GB, free: 31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.6391, allocations: 366.3 kB / 0.6242 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.6393, allocations: 132.7 kB / 0.6244 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.6396, allocations: 204.9 kB / 0.6245 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.6399, allocations: 155.8 kB / 0.6247 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6399, allocations: 0 / 0.6247 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006583/0.6405, allocations: 451.5 kB / 0.6251 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.6406, allocations: 123.6 kB / 0.6252 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6406, allocations: 2.844 kB / 0.6252 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.6406, allocations: 2.875 kB / 0.6252 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.6414, allocations: 153.2 kB / 0.6254 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/0.6418, allocations: 1.187 MB / 0.6266 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.6423, allocations: 67.33 kB / 0.6266 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.6423, allocations: 16.12 kB / 0.6266 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.6423, allocations: 2.562 kB / 0.6266 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005721/0.6429, allocations: 370.3 kB / 0.627 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.6429, allocations: 0 / 0.627 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.6429, allocations: 6.469 kB / 0.627 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.6433, allocations: 113.4 kB / 0.6271 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6433, allocations: 6.078 kB / 0.6271 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.6437, allocations: 62.23 kB / 0.6272 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.6437, allocations: 17.69 kB / 0.6272 GB, free: 29.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.644, allocations: 268.3 kB / 0.6274 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.6441, allocations: 63.56 kB / 0.6275 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.6446, allocations: 334.8 kB / 0.6278 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.6447, allocations: 3.25 kB / 0.6278 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6447, allocations: 0 / 0.6278 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6447, allocations: 0 / 0.6278 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.6457, allocations: 0.9151 MB / 0.6287 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6457, allocations: 2.781 kB / 0.6287 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.646, allocations: 57.2 kB / 0.6288 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.646, allocations: 3.375 kB / 0.6288 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.6461, allocations: 7.281 kB / 0.6288 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003131/0.6464, allocations: 1.193 MB / 0.63 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6464, allocations: 0 / 0.63 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.647, allocations: 0.5327 MB / 0.6305 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.6472, allocations: 182.6 kB / 0.6306 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/0.6473, allocations: 6.438 kB / 0.6307 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.6476, allocations: 35.34 kB / 0.6307 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.6476, allocations: 15.66 kB / 0.6307 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.6477, allocations: 11.73 kB / 0.6307 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004675/0.6481, allocations: 443.3 kB / 0.6311 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.452e-06/0.6482, allocations: 0 / 0.6311 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000813/0.649, allocations: 299.4 kB / 0.6314 GB, free: 26.85 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004956/0.6495, allocations: 255.4 kB / 0.6317 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.6507, allocations: 0.5209 MB / 0.6322 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6507, allocations: 0 / 0.6322 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.651, allocations: 138.5 kB / 0.6323 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.6523, allocations: 289.2 kB / 0.6326 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.6538, allocations: 1.203 MB / 0.6338 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.654, allocations: 0.8919 MB / 0.6346 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.6545, allocations: 117.2 kB / 0.6347 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.6546, allocations: 44.72 kB / 0.6348 GB, free: 25.28 MB / 0.4981 GB Notification: Performance of SimCode: time 1.883e-06/0.6546, allocations: 0 / 0.6348 GB, free: 25.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.0186/0.6732, allocations: 10.48 MB / 0.645 GB, free: 24.47 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)