Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001115/0.001115, allocations: 194.8 kB / 16.14 MB, free: 6.656 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7653/0.7653, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.22 kB / 0.5011 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1678, allocations: 80.2 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.3923/0.5601, allocations: 30.59 MB / 0.6093 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.5715, allocations: 10.85 MB / 0.6199 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.5728, allocations: 23.53 kB / 0.6199 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009805/0.5739, allocations: 316.8 kB / 0.6202 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.5766, allocations: 1.061 MB / 0.6212 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.5786, allocations: 0.7608 MB / 0.622 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.581, allocations: 2.833 MB / 0.6248 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.5816, allocations: 0.5903 MB / 0.6253 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.583, allocations: 0.9027 MB / 0.6262 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.5836, allocations: 0.6864 MB / 0.6269 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.5837, allocations: 37.19 kB / 0.6269 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5849, allocations: 0.5768 MB / 0.6275 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.585, allocations: 148 kB / 0.6276 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.5854, allocations: 416.4 kB / 0.628 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.5864, allocations: 1.056 MB / 0.6291 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5864, allocations: 0 / 0.6291 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5864, allocations: 2.781 kB / 0.6291 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.5864, allocations: 0 / 0.6291 GB, free: 32.11 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001502/0.5879, allocations: 1.164 MB / 0.6302 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.588, allocations: 15.84 kB / 0.6302 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.5881, allocations: 102.3 kB / 0.6303 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.5888, allocations: 0.5582 MB / 0.6309 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.5888, allocations: 42.34 kB / 0.6309 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.5889, allocations: 52.94 kB / 0.6309 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.5896, allocations: 403.6 kB / 0.6313 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5896, allocations: 3.094 kB / 0.6313 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.5896, allocations: 18.84 kB / 0.6313 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5897, allocations: 16.17 kB / 0.6314 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.5902, allocations: 302.3 kB / 0.6317 GB, free: 30.53 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.002418/0.5926, allocations: 1.854 MB / 0.6335 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.593, allocations: 171 kB / 0.6336 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.5931, allocations: 78.25 kB / 0.6337 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.5934, allocations: 345.3 kB / 0.634 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.5934, allocations: 33.59 kB / 0.6341 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/0.5934, allocations: 0 / 0.6341 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006631/0.5941, allocations: 310.3 kB / 0.6344 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.5941, allocations: 54.16 kB / 0.6344 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.5947, allocations: 0.6793 MB / 0.6351 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.5947, allocations: 32.45 kB / 0.6351 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.5949, allocations: 365 kB / 0.6355 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.595, allocations: 63.83 kB / 0.6355 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.5951, allocations: 91.23 kB / 0.6356 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.5952, allocations: 388.5 kB / 0.636 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.5954, allocations: 113.6 kB / 0.6361 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.5957, allocations: 181.5 kB / 0.6363 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.5961, allocations: 249.6 kB / 0.6365 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5961, allocations: 1.062 kB / 0.6365 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006308/0.5968, allocations: 388.4 kB / 0.6369 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5968, allocations: 8.828 kB / 0.6369 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5968, allocations: 2.906 kB / 0.6369 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5968, allocations: 0 / 0.6369 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.5978, allocations: 159.7 kB / 0.637 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008037/0.5986, allocations: 2.364 MB / 0.6393 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.5992, allocations: 90.61 kB / 0.6394 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.5992, allocations: 16.42 kB / 0.6394 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003573/0.5996, allocations: 255.2 kB / 0.6397 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002471/0.5999, allocations: 173.7 kB / 0.6398 GB, free: 24.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003781/0.6003, allocations: 228.4 kB / 0.6401 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.6003, allocations: 3.938 kB / 0.6401 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000611/0.6009, allocations: 375.1 kB / 0.6404 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.6009, allocations: 5.25 kB / 0.6404 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6009, allocations: 3.578 kB / 0.6404 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.6009, allocations: 10.5 kB / 0.6404 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.6013, allocations: 97.84 kB / 0.6405 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.6013, allocations: 10.27 kB / 0.6405 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/0.6018, allocations: 68.94 kB / 0.6406 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.6019, allocations: 18.02 kB / 0.6406 GB, free: 24.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.613e-05/0.602, allocations: 193.8 kB / 0.6408 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.6021, allocations: 66.78 kB / 0.6409 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.6026, allocations: 320 kB / 0.6412 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.6026, allocations: 2.75 kB / 0.6412 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6027, allocations: 0 / 0.6412 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6027, allocations: 192 / 0.6412 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.6037, allocations: 0.8913 MB / 0.6421 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6037, allocations: 2.719 kB / 0.6421 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.604, allocations: 81.64 kB / 0.6421 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.604, allocations: 0 / 0.6421 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.604, allocations: 3.25 kB / 0.6421 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006047/0.6047, allocations: 2.36 MB / 0.6444 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6047, allocations: 9.438 kB / 0.6445 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.6051, allocations: 401.1 kB / 0.6448 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.6053, allocations: 160.5 kB / 0.645 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/0.6054, allocations: 10 kB / 0.645 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.6058, allocations: 56.66 kB / 0.6451 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.6058, allocations: 8.844 kB / 0.6451 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.6058, allocations: 19.81 kB / 0.6451 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000434/0.6063, allocations: 478 kB / 0.6455 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6063, allocations: 0 / 0.6455 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007655/0.6071, allocations: 345.7 kB / 0.6459 GB, free: 20.1 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004222/0.6075, allocations: 262.3 kB / 0.6461 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.6089, allocations: 492.4 kB / 0.6466 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.609, allocations: 2.625 kB / 0.6466 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.6093, allocations: 130.7 kB / 0.6467 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.6111, allocations: 372.1 kB / 0.6471 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.6127, allocations: 1.364 MB / 0.6484 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.6131, allocations: 0.9307 MB / 0.6493 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004594/0.6136, allocations: 124.8 kB / 0.6494 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6137, allocations: 52.38 kB / 0.6495 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.6137, allocations: 0 / 0.6495 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.03103/0.6447, allocations: 12.4 MB / 0.6616 GB, free: 17.12 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)