Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009882, allocations: 118.6 kB / 16.37 MB, free: 5.984 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.001154/0.001154, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8316/0.8316, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3831, allocations: 80.91 MB / 0.5858 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01745/0.4006, allocations: 19.44 MB / 0.6048 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006589/0.4073, allocations: 5.146 MB / 0.6098 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009704/0.4083, allocations: 19.88 kB / 0.6098 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008252/0.4092, allocations: 266.5 kB / 0.6101 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.4114, allocations: 0.7778 MB / 0.6108 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.4138, allocations: 0.887 MB / 0.6117 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.416, allocations: 1.553 MB / 0.6132 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/0.4167, allocations: 0.505 MB / 0.6137 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.4179, allocations: 0.6339 MB / 0.6143 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006768/0.4185, allocations: 0.5251 MB / 0.6148 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.497e-05/0.4186, allocations: 56 kB / 0.6149 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.4201, allocations: 0.7018 MB / 0.6156 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.4203, allocations: 167.3 kB / 0.6157 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.4207, allocations: 378 kB / 0.6161 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4221, allocations: 1.098 MB / 0.6172 GB, free: 10.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4221, allocations: 8 kB / 0.6172 GB, free: 10.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4221, allocations: 0 / 0.6172 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4221, allocations: 0 / 0.6172 GB, free: 10.38 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001933/0.4241, allocations: 1.096 MB / 0.6182 GB, free: 9.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4241, allocations: 13.11 kB / 0.6182 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.4243, allocations: 80 kB / 0.6183 GB, free: 9.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.4251, allocations: 0.5259 MB / 0.6188 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.4252, allocations: 37 kB / 0.6189 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.4253, allocations: 48 kB / 0.6189 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4263, allocations: 0.6254 MB / 0.6195 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4264, allocations: 7.938 kB / 0.6195 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.4264, allocations: 16 kB / 0.6195 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4264, allocations: 12 kB / 0.6196 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.4275, allocations: 495.4 kB / 0.62 GB, free: 7.285 MB / 462.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.003581/0.4311, allocations: 3.204 MB / 0.6232 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/0.4318, allocations: 346.7 kB / 0.6235 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.4322, allocations: 224.7 kB / 0.6237 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.4326, allocations: 348.4 kB / 0.624 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4326, allocations: 38.66 kB / 0.6241 GB, free: 2.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.884e-06/0.4326, allocations: 3.938 kB / 0.6241 GB, free: 2.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002051/0.4347, allocations: 0.8004 MB / 0.6249 GB, free: 2.023 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4347, allocations: 55.41 kB / 0.6249 GB, free: 1.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.4354, allocations: 0.59 MB / 0.6255 GB, free: 1.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/0.4355, allocations: 33.7 kB / 0.6255 GB, free: 1.316 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.4357, allocations: 332.4 kB / 0.6258 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4358, allocations: 130.1 kB / 0.626 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.436, allocations: 138.1 kB / 0.6261 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.4362, allocations: 370.7 kB / 0.6264 GB, free: 356 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.4368, allocations: 223.3 kB / 0.6267 GB, free: 128 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.4374, allocations: 368 kB / 0.627 GB, free: 15.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.4385, allocations: 0.5705 MB / 0.6276 GB, free: 15.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4385, allocations: 0 / 0.6276 GB, free: 15.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001502/0.44, allocations: 0.7227 MB / 0.6283 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.44, allocations: 4 kB / 0.6283 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4401, allocations: 8 kB / 0.6283 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.4406, allocations: 128.8 kB / 0.6284 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.4412, allocations: 151.8 kB / 0.6286 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/0.4419, allocations: 0.6147 MB / 0.6292 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4424, allocations: 83.34 kB / 0.6292 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.4425, allocations: 27.98 kB / 0.6293 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000699/0.4432, allocations: 353.4 kB / 0.6296 GB, free: 12.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005627/0.4438, allocations: 364 kB / 0.6299 GB, free: 12.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001074/0.4448, allocations: 0.5588 MB / 0.6305 GB, free: 11.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.4448, allocations: 0 / 0.6305 GB, free: 11.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001322/0.4462, allocations: 0.6784 MB / 0.6312 GB, free: 11.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4462, allocations: 4 kB / 0.6312 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4462, allocations: 4 kB / 0.6312 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.4462, allocations: 8 kB / 0.6312 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.4468, allocations: 160.3 kB / 0.6313 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4468, allocations: 15.88 kB / 0.6313 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.4473, allocations: 67.55 kB / 0.6314 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.4474, allocations: 31.98 kB / 0.6314 GB, free: 10.95 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.4476, allocations: 213 kB / 0.6316 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.4478, allocations: 67.16 kB / 0.6317 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.4492, allocations: 0.6446 MB / 0.6323 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.4493, allocations: 11.94 kB / 0.6323 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4493, allocations: 0 / 0.6323 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.4493, allocations: 3.984 kB / 0.6323 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.4517, allocations: 1.352 MB / 0.6337 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.4518, allocations: 8 kB / 0.6337 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.4521, allocations: 83.97 kB / 0.6338 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/0.4525, allocations: 104.8 kB / 0.6339 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.4525, allocations: 19.98 kB / 0.6339 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005734/0.4531, allocations: 0.6225 MB / 0.6345 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4531, allocations: 8.094 kB / 0.6345 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.4544, allocations: 0.7018 MB / 0.6352 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.4547, allocations: 196.1 kB / 0.6354 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.4548, allocations: 7.984 kB / 0.6354 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.4551, allocations: 31.97 kB / 0.6354 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.4552, allocations: 35.95 kB / 0.6354 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.4553, allocations: 16 kB / 0.6354 GB, free: 6.664 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004893/0.4558, allocations: 403 kB / 0.6358 GB, free: 6.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4558, allocations: 0 / 0.6358 GB, free: 6.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001106/0.4569, allocations: 383.4 kB / 0.6362 GB, free: 5.902 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007183/0.4576, allocations: 310.8 kB / 0.6365 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.4597, allocations: 0.8618 MB / 0.6373 GB, free: 4.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4597, allocations: 1.125 kB / 0.6373 GB, free: 4.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006996/0.4604, allocations: 296.1 kB / 0.6376 GB, free: 4.441 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4615, allocations: 236.2 kB / 0.6378 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.4634, allocations: 1.059 MB / 0.6389 GB, free: 3.125 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.4639, allocations: 0.9116 MB / 0.6398 GB, free: 2.184 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.4644, allocations: 155.5 kB / 0.6399 GB, free: 2.039 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.4646, allocations: 55.42 kB / 0.64 GB, free: 1.984 MB / 478.1 MB Notification: Performance of SimCode: time 2.295e-06/0.4646, allocations: 4 kB / 0.64 GB, free: 1.98 MB / 478.1 MB Notification: Performance of Templates: time 0.02183/0.4864, allocations: 12.61 MB / 0.6523 GB, free: 5.543 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)