Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01234/0.01234, allocations: 170.1 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9392/0.9392, allocations: 132.3 MB / 148.1 MB, free: 256 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 403.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 99.28 kB / 485.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 8 kB / 0.5641 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5247, allocations: 81.57 MB / 0.6437 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9105/1.435, allocations: 356.5 MB / 0.9919 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.436, allocations: 99.06 kB / 0.992 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.06/2.495, allocations: 295.4 MB / 1.28 GB, free: 45.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/2.496, allocations: 8 kB / 1.28 GB, free: 45.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.228e-05/2.496, allocations: 16 kB / 1.28 GB, free: 45.77 MB / 0.6823 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.001708/2.497, allocations: 1.035 MB / 1.281 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/2.497, allocations: 8.031 kB / 1.281 GB, free: 44.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/2.497, allocations: 83.02 kB / 1.282 GB, free: 44.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/2.498, allocations: 0.5782 MB / 1.282 GB, free: 43.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/2.498, allocations: 36.59 kB / 1.282 GB, free: 43.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/2.498, allocations: 43.91 kB / 1.282 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/2.499, allocations: 306 kB / 1.282 GB, free: 43.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/2.499, allocations: 0 / 1.282 GB, free: 43.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/2.499, allocations: 16 kB / 1.282 GB, free: 43.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/2.499, allocations: 12.66 kB / 1.282 GB, free: 43.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/2.5, allocations: 254.4 kB / 1.283 GB, free: 43.31 MB / 0.6823 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.002085/2.502, allocations: 1.569 MB / 1.284 GB, free: 41.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/2.502, allocations: 222.5 kB / 1.284 GB, free: 41.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/2.502, allocations: 417.5 kB / 1.285 GB, free: 40.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/2.502, allocations: 30.56 kB / 1.285 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.415e-06/2.502, allocations: 4 kB / 1.285 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0007476/2.503, allocations: 355.3 kB / 1.285 GB, free: 40.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/2.503, allocations: 59.41 kB / 1.285 GB, free: 40.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/2.504, allocations: 0.5737 MB / 1.286 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/2.504, allocations: 29.7 kB / 1.286 GB, free: 39.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/2.504, allocations: 308.5 kB / 1.286 GB, free: 39.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/2.504, allocations: 63.02 kB / 1.286 GB, free: 39.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/2.504, allocations: 12 kB / 1.286 GB, free: 39.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/2.504, allocations: 370.7 kB / 1.287 GB, free: 39.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/2.504, allocations: 140.8 kB / 1.287 GB, free: 38.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/2.505, allocations: 229.7 kB / 1.287 GB, free: 38.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/2.505, allocations: 163.9 kB / 1.287 GB, free: 38.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.505, allocations: 96 / 1.287 GB, free: 38.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006779/2.506, allocations: 469.2 kB / 1.288 GB, free: 38.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/2.506, allocations: 445.4 kB / 1.288 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/2.506, allocations: 4.094 kB / 1.288 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/2.506, allocations: 11.97 kB / 1.288 GB, free: 37.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/2.507, allocations: 135.8 kB / 1.288 GB, free: 37.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005302/2.507, allocations: 1.191 MB / 1.289 GB, free: 36.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/2.508, allocations: 71.67 kB / 1.289 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/2.508, allocations: 23.94 kB / 1.289 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/2.508, allocations: 4 kB / 1.289 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006004/2.508, allocations: 379.6 kB / 1.29 GB, free: 35.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/2.508, allocations: 0 / 1.29 GB, free: 35.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/2.508, allocations: 4 kB / 1.29 GB, free: 35.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/2.509, allocations: 123.8 kB / 1.29 GB, free: 35.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/2.509, allocations: 4 kB / 1.29 GB, free: 35.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/2.509, allocations: 55.66 kB / 1.29 GB, free: 35.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/2.509, allocations: 19.98 kB / 1.29 GB, free: 35.51 MB / 0.6823 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 (52): * Single equations (assignments): 50 * 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.0002626/2.51, allocations: 273 kB / 1.29 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/2.51, allocations: 63.16 kB / 1.29 GB, free: 35.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/2.51, allocations: 338 kB / 1.291 GB, free: 34.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/2.51, allocations: 11.98 kB / 1.291 GB, free: 34.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/2.51, allocations: 0 / 1.291 GB, free: 34.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/2.51, allocations: 0 / 1.291 GB, free: 34.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/2.511, allocations: 0.9328 MB / 1.291 GB, free: 33.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/2.511, allocations: 0 / 1.291 GB, free: 33.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/2.512, allocations: 63.89 kB / 1.292 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/2.512, allocations: 4 kB / 1.292 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/2.512, allocations: 8 kB / 1.292 GB, free: 33.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000331/2.512, allocations: 1.184 MB / 1.293 GB, free: 32.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.512, allocations: 4.031 kB / 1.293 GB, free: 32.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/2.513, allocations: 0.5846 MB / 1.293 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/2.513, allocations: 180.3 kB / 1.293 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/2.513, allocations: 4 kB / 1.293 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/2.513, allocations: 36.02 kB / 1.294 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/2.513, allocations: 23.84 kB / 1.294 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/2.514, allocations: 7.938 kB / 1.294 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004616/2.514, allocations: 451 kB / 1.294 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/2.514, allocations: 0 / 1.294 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009975/2.515, allocations: 327.7 kB / 1.294 GB, free: 30.85 MB / 0.6823 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 (22): * Single equations (assignments): 18 * 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.0007055/2.516, allocations: 392.6 kB / 1.295 GB, free: 30.47 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00118/2.517, allocations: 0.5129 MB / 1.295 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/2.517, allocations: 0 / 1.295 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002827/2.517, allocations: 139.8 kB / 1.295 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/2.518, allocations: 292 kB / 1.296 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/2.52, allocations: 1.21 MB / 1.297 GB, free: 28.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/2.52, allocations: 0.9101 MB / 1.298 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004711/2.521, allocations: 132.8 kB / 1.298 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/2.521, allocations: 47.42 kB / 1.298 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/2.521, allocations: 0 / 1.298 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of Templates: time 0.01817/2.539, allocations: 12.04 MB / 1.31 GB, free: 15.29 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)