Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001212/0.001212, allocations: 172.7 kB / 15.95 MB, free: 208 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.3 MB / 426.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 8 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1843, allocations: 82.32 MB / 0.5874 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3716/0.5559, allocations: 27.38 MB / 0.6141 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.5662, allocations: 7.67 MB / 0.6216 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.568, allocations: 23.47 kB / 0.6216 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.569, allocations: 306.8 kB / 0.6219 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003751/0.5728, allocations: 1.081 MB / 0.623 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.5755, allocations: 0.9596 MB / 0.6239 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003912/0.5794, allocations: 3.528 MB / 0.6274 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.5808, allocations: 1.091 MB / 0.6284 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.5832, allocations: 1.457 MB / 0.6298 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.5857, allocations: 1.555 MB / 0.6314 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.5861, allocations: 64.41 kB / 0.6314 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.5885, allocations: 0.866 MB / 0.6323 GB, free: 31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003992/0.5889, allocations: 330 kB / 0.6326 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.5894, allocations: 253.4 kB / 0.6328 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.5911, allocations: 1.539 MB / 0.6343 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5912, allocations: 3.938 kB / 0.6343 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5912, allocations: 0 / 0.6343 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.5912, allocations: 0 / 0.6343 GB, free: 30.5 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002067/0.5933, allocations: 1.341 MB / 0.6356 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5933, allocations: 13.72 kB / 0.6357 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.5936, allocations: 146.3 kB / 0.6358 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5949, allocations: 0.8595 MB / 0.6366 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.595, allocations: 82.12 kB / 0.6367 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.5952, allocations: 116 kB / 0.6368 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.5961, allocations: 0.6401 MB / 0.6375 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5961, allocations: 0 / 0.6375 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.5962, allocations: 26.09 kB / 0.6375 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.5962, allocations: 21.7 kB / 0.6375 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.597, allocations: 471.8 kB / 0.6379 GB, free: 28.56 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.003818/0.6008, allocations: 2.876 MB / 0.6408 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.6014, allocations: 316.8 kB / 0.6411 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.6016, allocations: 154.2 kB / 0.6412 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.6019, allocations: 343.7 kB / 0.6415 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6019, allocations: 37.47 kB / 0.6416 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.6019, allocations: 4 kB / 0.6416 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001226/0.6032, allocations: 0.5407 MB / 0.6421 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.6032, allocations: 62.44 kB / 0.6422 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.6042, allocations: 0.8951 MB / 0.643 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.6043, allocations: 54.17 kB / 0.6431 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.6047, allocations: 0.5308 MB / 0.6436 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.6048, allocations: 117.7 kB / 0.6437 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.6048, allocations: 10.72 kB / 0.6437 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.6049, allocations: 329.8 kB / 0.644 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.6052, allocations: 180.6 kB / 0.6442 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009894/0.6062, allocations: 1.145 MB / 0.6453 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.6067, allocations: 299.9 kB / 0.6456 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6067, allocations: 2.625 kB / 0.6456 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001187/0.6079, allocations: 0.6388 MB / 0.6462 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/0.608, allocations: 150.4 kB / 0.6464 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.608, allocations: 2 kB / 0.6464 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.608, allocations: 6.703 kB / 0.6464 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.6094, allocations: 242.4 kB / 0.6466 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.6104, allocations: 2.96 MB / 0.6495 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/0.614, allocations: 0.7429 MB / 0.6502 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.6141, allocations: 30.47 kB / 0.6503 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6141, allocations: 6.25 kB / 0.6503 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/0.6152, allocations: 0.4972 MB / 0.6508 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6152, allocations: 6.781 kB / 0.6508 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6153, allocations: 9.516 kB / 0.6508 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.6159, allocations: 162.6 kB / 0.6509 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.616, allocations: 5.109 kB / 0.6509 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/0.6194, allocations: 0.7419 MB / 0.6517 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/0.6195, allocations: 28.41 kB / 0.6517 GB, free: 19.53 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007989/0.6203, allocations: 335.7 kB / 0.652 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.6206, allocations: 96.55 kB / 0.6521 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.6218, allocations: 0.5172 MB / 0.6526 GB, free: 19.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.6218, allocations: 12.44 kB / 0.6526 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6218, allocations: 0.75 kB / 0.6526 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.6218, allocations: 1.547 kB / 0.6526 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.6242, allocations: 1.269 MB / 0.6539 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6242, allocations: 5.125 kB / 0.6539 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.6248, allocations: 108.9 kB / 0.654 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.6248, allocations: 3.062 kB / 0.654 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.6248, allocations: 10.64 kB / 0.654 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008942/0.6257, allocations: 2.947 MB / 0.6569 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6257, allocations: 2.172 kB / 0.6569 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.6267, allocations: 0.5877 MB / 0.6574 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.6271, allocations: 221 kB / 0.6576 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.6272, allocations: 15.83 kB / 0.6577 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.6278, allocations: 64.56 kB / 0.6577 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.6279, allocations: 25.38 kB / 0.6577 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.6279, allocations: 12.67 kB / 0.6578 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009535/0.6289, allocations: 0.6012 MB / 0.6583 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6289, allocations: 0 / 0.6583 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002279/0.6312, allocations: 0.539 MB / 0.6589 GB, free: 14.45 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008306/0.632, allocations: 328.9 kB / 0.6592 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00309/0.6351, allocations: 0.8472 MB / 0.66 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6351, allocations: 0 / 0.66 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/0.6359, allocations: 235.8 kB / 0.6602 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.6387, allocations: 484.5 kB / 0.6607 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.6419, allocations: 1.794 MB / 0.6625 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.6425, allocations: 1.027 MB / 0.6635 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001578/0.6441, allocations: 210.7 kB / 0.6637 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.6444, allocations: 78.94 kB / 0.6637 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.405e-06/0.6444, allocations: 1.406 kB / 0.6637 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.05494/0.6993, allocations: 23.6 MB / 0.6868 GB, free: 3.789 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)