Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001567/0.001567, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002061/0.002061, allocations: 196 kB / 16.14 MB, free: 6.711 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.089/1.089, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.5047 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2232, allocations: 80.93 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.3852/0.6085, allocations: 30.59 MB / 0.6136 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.6199, allocations: 10.84 MB / 0.6242 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.6213, allocations: 22.84 kB / 0.6242 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.6224, allocations: 322 kB / 0.6245 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.6255, allocations: 1.058 MB / 0.6255 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.6276, allocations: 0.7546 MB / 0.6263 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002418/0.63, allocations: 2.835 MB / 0.629 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006924/0.6307, allocations: 0.5795 MB / 0.6296 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.6322, allocations: 0.9061 MB / 0.6305 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.633, allocations: 0.678 MB / 0.6311 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.6331, allocations: 38.31 kB / 0.6312 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.6343, allocations: 0.5859 MB / 0.6318 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.6344, allocations: 146.5 kB / 0.6319 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.6348, allocations: 414.5 kB / 0.6323 GB, free: 27.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.6359, allocations: 1.056 MB / 0.6333 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6359, allocations: 4 kB / 0.6333 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6359, allocations: 0 / 0.6333 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.6359, allocations: 0 / 0.6333 GB, free: 27.44 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.001608/0.6375, allocations: 1.167 MB / 0.6345 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6376, allocations: 9.438 kB / 0.6345 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.6377, allocations: 96.72 kB / 0.6346 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.6384, allocations: 0.558 MB / 0.6351 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.6384, allocations: 48 kB / 0.6352 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.6385, allocations: 50.22 kB / 0.6352 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.6391, allocations: 418.6 kB / 0.6356 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6392, allocations: 0 / 0.6356 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.6392, allocations: 23.06 kB / 0.6356 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6392, allocations: 10.94 kB / 0.6356 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.6397, allocations: 300.4 kB / 0.6359 GB, free: 25.86 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.002266/0.642, allocations: 1.856 MB / 0.6377 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.6423, allocations: 168.5 kB / 0.6379 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.6425, allocations: 79.52 kB / 0.638 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.6427, allocations: 345.2 kB / 0.6383 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.6428, allocations: 42.03 kB / 0.6383 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.6428, allocations: 0 / 0.6383 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006766/0.6435, allocations: 304.5 kB / 0.6386 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.6435, allocations: 54.38 kB / 0.6387 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.6441, allocations: 0.6746 MB / 0.6393 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.6442, allocations: 36.58 kB / 0.6394 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.6444, allocations: 369.5 kB / 0.6397 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.6444, allocations: 65.09 kB / 0.6398 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.6445, allocations: 91.39 kB / 0.6399 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.6446, allocations: 379.6 kB / 0.6402 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.6449, allocations: 112.3 kB / 0.6403 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.6452, allocations: 178.5 kB / 0.6405 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.6456, allocations: 237.5 kB / 0.6407 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6456, allocations: 2.625 kB / 0.6407 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000652/0.6463, allocations: 399.8 kB / 0.6411 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6463, allocations: 6.875 kB / 0.6411 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6463, allocations: 2.844 kB / 0.6411 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6463, allocations: 3.016 kB / 0.6411 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6473, allocations: 157.8 kB / 0.6413 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008213/0.6482, allocations: 2.365 MB / 0.6436 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.6488, allocations: 80.73 kB / 0.6437 GB, free: 20 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.6488, allocations: 18.38 kB / 0.6437 GB, free: 19.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003962/0.6493, allocations: 255.1 kB / 0.6439 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002599/0.6495, allocations: 174.5 kB / 0.6441 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003798/0.6499, allocations: 220.5 kB / 0.6443 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.6499, allocations: 0 / 0.6443 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006211/0.6505, allocations: 381.2 kB / 0.6447 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6506, allocations: 13.12 kB / 0.6447 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.6506, allocations: 0 / 0.6447 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.6506, allocations: 10.59 kB / 0.6447 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.651, allocations: 100.4 kB / 0.6448 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.651, allocations: 2.625 kB / 0.6448 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.6516, allocations: 76.45 kB / 0.6449 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.6516, allocations: 12.38 kB / 0.6449 GB, free: 19.44 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 0.0001109/0.6517, allocations: 198.2 kB / 0.6451 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/0.6518, allocations: 66.59 kB / 0.6451 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.6524, allocations: 320.6 kB / 0.6454 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.6525, allocations: 3 kB / 0.6454 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6525, allocations: 0 / 0.6454 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6525, allocations: 0 / 0.6454 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.6536, allocations: 0.8886 MB / 0.6463 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6536, allocations: 2.625 kB / 0.6463 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.654, allocations: 78.25 kB / 0.6464 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.654, allocations: 2.875 kB / 0.6464 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.654, allocations: 10.59 kB / 0.6464 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006414/0.6546, allocations: 2.346 MB / 0.6487 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6547, allocations: 0 / 0.6487 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.6551, allocations: 407.1 kB / 0.6491 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.6553, allocations: 166.2 kB / 0.6492 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/0.6554, allocations: 10.5 kB / 0.6493 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.6558, allocations: 50.19 kB / 0.6493 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.6559, allocations: 21.09 kB / 0.6493 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.6559, allocations: 13.41 kB / 0.6493 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004531/0.6564, allocations: 478.1 kB / 0.6498 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6564, allocations: 4 kB / 0.6498 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008817/0.6573, allocations: 340 kB / 0.6501 GB, free: 15.44 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.0004526/0.6577, allocations: 260.9 kB / 0.6504 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.6594, allocations: 490.3 kB / 0.6508 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6594, allocations: 0.7188 kB / 0.6508 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.6598, allocations: 133.9 kB / 0.651 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.6618, allocations: 373.1 kB / 0.6513 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.6639, allocations: 1.367 MB / 0.6527 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.6643, allocations: 0.9325 MB / 0.6536 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006106/0.6649, allocations: 116.6 kB / 0.6537 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.6651, allocations: 52.5 kB / 0.6537 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.542e-06/0.6651, allocations: 1.094 kB / 0.6537 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.03161/0.6967, allocations: 12.42 MB / 0.6659 GB, free: 12.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)