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.0009083/0.0009083, 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.007143/0.007143, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.543/1.543, 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.088/1.088, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004017, allocations: 9.938 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 82.31 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.5253/0.7411, allocations: 21.59 MB / 0.609 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00885/0.75, allocations: 5.211 MB / 0.6141 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.7516, allocations: 16.84 kB / 0.6142 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.7528, allocations: 251.8 kB / 0.6144 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.7563, allocations: 0.7881 MB / 0.6152 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.7598, allocations: 0.6515 MB / 0.6158 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004346/0.7642, allocations: 1.875 MB / 0.6176 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.7655, allocations: 440.7 kB / 0.618 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.7673, allocations: 0.5462 MB / 0.6186 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.7684, allocations: 473.8 kB / 0.619 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.7685, allocations: 20.06 kB / 0.6191 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.7706, allocations: 0.5814 MB / 0.6196 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.7709, allocations: 112.7 kB / 0.6197 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005931/0.7715, allocations: 345.7 kB / 0.6201 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.7738, allocations: 1.006 MB / 0.621 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.7738, allocations: 7.234 kB / 0.621 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.185e-06/0.7738, allocations: 0 / 0.621 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.7738, allocations: 0 / 0.621 GB, free: 32.85 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.002372/0.7762, allocations: 0.9418 MB / 0.622 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.7763, allocations: 8.656 kB / 0.622 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.7765, allocations: 77.97 kB / 0.6221 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.7776, allocations: 0.5526 MB / 0.6226 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.7777, allocations: 32.22 kB / 0.6226 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.7778, allocations: 37.41 kB / 0.6227 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008352/0.7786, allocations: 317.7 kB / 0.623 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.7787, allocations: 3.031 kB / 0.623 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.7787, allocations: 8.562 kB / 0.623 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.7788, allocations: 15.7 kB / 0.623 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007695/0.7795, allocations: 269.1 kB / 0.6232 GB, free: 31.82 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.003373/0.7829, allocations: 1.581 MB / 0.6248 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.7835, allocations: 194.7 kB / 0.625 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.7838, allocations: 100.9 kB / 0.6251 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004139/0.7843, allocations: 420.6 kB / 0.6255 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.7843, allocations: 36.12 kB / 0.6255 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.916e-06/0.7843, allocations: 0 / 0.6255 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001239/0.7856, allocations: 347.9 kB / 0.6258 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.7856, allocations: 54.38 kB / 0.6259 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.7868, allocations: 0.649 MB / 0.6265 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.7869, allocations: 32.42 kB / 0.6266 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.7872, allocations: 306.8 kB / 0.6268 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.7873, allocations: 65.97 kB / 0.6269 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.7874, allocations: 53.16 kB / 0.627 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7876, allocations: 373.2 kB / 0.6273 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.7881, allocations: 135.7 kB / 0.6274 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.7887, allocations: 221.6 kB / 0.6277 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.7897, allocations: 303.1 kB / 0.6279 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.7897, allocations: 0 / 0.6279 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001484/0.7912, allocations: 461.6 kB / 0.6284 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.7913, allocations: 119.6 kB / 0.6285 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7913, allocations: 0 / 0.6285 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.7913, allocations: 5.828 kB / 0.6285 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.7927, allocations: 142.1 kB / 0.6286 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007488/0.7935, allocations: 1.192 MB / 0.6298 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.7945, allocations: 67.61 kB / 0.6299 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.7946, allocations: 18.64 kB / 0.6299 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7946, allocations: 7.219 kB / 0.6299 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.7958, allocations: 373.4 kB / 0.6302 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7958, allocations: 0 / 0.6302 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.7959, allocations: 6.938 kB / 0.6303 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/0.7967, allocations: 119.6 kB / 0.6304 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.7967, allocations: 6.766 kB / 0.6304 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.7976, allocations: 57.66 kB / 0.6304 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.7976, allocations: 17.69 kB / 0.6304 GB, free: 27.86 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004612/0.7981, allocations: 266.9 kB / 0.6307 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.7983, allocations: 64.09 kB / 0.6308 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.7994, allocations: 329.9 kB / 0.6311 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.7994, allocations: 2.5 kB / 0.6311 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.7995, allocations: 0 / 0.6311 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.7995, allocations: 0 / 0.6311 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.8015, allocations: 0.92 MB / 0.632 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8016, allocations: 0 / 0.632 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.802, allocations: 54.36 kB / 0.632 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.8021, allocations: 7.094 kB / 0.632 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.8021, allocations: 7.188 kB / 0.632 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005885/0.8027, allocations: 1.183 MB / 0.6332 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8027, allocations: 3.906 kB / 0.6332 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.804, allocations: 0.5325 MB / 0.6337 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.8043, allocations: 178.1 kB / 0.6339 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.8045, allocations: 11.45 kB / 0.6339 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.8051, allocations: 46.95 kB / 0.6339 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.8052, allocations: 12.12 kB / 0.634 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.8052, allocations: 13.5 kB / 0.634 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009097/0.8061, allocations: 454.1 kB / 0.6344 GB, free: 24.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8061, allocations: 0 / 0.6344 GB, free: 24.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001513/0.8077, allocations: 301.5 kB / 0.6347 GB, free: 24.93 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007028/0.8084, allocations: 243.5 kB / 0.6349 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.8106, allocations: 0.5363 MB / 0.6354 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8106, allocations: 0 / 0.6354 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.8112, allocations: 141.3 kB / 0.6356 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.8139, allocations: 292.5 kB / 0.6359 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.8164, allocations: 1.238 MB / 0.6371 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.8169, allocations: 0.8935 MB / 0.6379 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008306/0.8177, allocations: 124.2 kB / 0.6381 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.8179, allocations: 48.45 kB / 0.6381 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.8179, allocations: 0 / 0.6381 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.03844/0.8563, allocations: 10.79 MB / 0.6486 GB, free: 22.17 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)