Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7257/0.7257, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 403.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 109.1 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009495/0.0009496, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1323, allocations: 80.21 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4226/0.5549, allocations: 153.3 MB / 0.7899 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.04109/0.596, allocations: 30.45 MB / 0.8197 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006213/0.6023, allocations: 127.1 kB / 0.8198 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.6059, allocations: 0.8233 MB / 0.8206 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009139/0.6151, allocations: 2.889 MB / 0.8234 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006128/0.6213, allocations: 2.288 MB / 0.8256 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.008303/0.6296, allocations: 7.428 MB / 0.8329 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002949/0.6325, allocations: 1.885 MB / 0.8347 GB, free: 396 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.6376, allocations: 2.45 MB / 0.8371 GB, free: 13.93 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.6409, allocations: 1.976 MB / 0.8391 GB, free: 11.94 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005767/0.6415, allocations: 120 kB / 0.8392 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.644, allocations: 0.9671 MB / 0.8401 GB, free: 10.86 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006834/0.6447, allocations: 473.8 kB / 0.8406 GB, free: 10.39 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.6465, allocations: 1.177 MB / 0.8417 GB, free: 9.207 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.6497, allocations: 3.197 MB / 0.8448 GB, free: 6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6497, allocations: 0 / 0.8448 GB, free: 6 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6497, allocations: 4 kB / 0.8448 GB, free: 5.996 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.814e-05/0.6498, allocations: 0 / 0.8448 GB, free: 5.996 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004727/0.6545, allocations: 2.784 MB / 0.8476 GB, free: 3.148 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6545, allocations: 8.031 kB / 0.8476 GB, free: 3.141 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.6549, allocations: 268.8 kB / 0.8478 GB, free: 2.875 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.6571, allocations: 1.442 MB / 0.8492 GB, free: 1.359 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.6572, allocations: 106.3 kB / 0.8493 GB, free: 1.254 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.6574, allocations: 136 kB / 0.8495 GB, free: 1.121 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.6593, allocations: 1.159 MB / 0.8506 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.6593, allocations: 4 kB / 0.8506 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/0.6594, allocations: 44 kB / 0.8506 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.6595, allocations: 28 kB / 0.8507 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.6611, allocations: 1.016 MB / 0.8517 GB, free: 14.83 MB / 0.5886 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.009639/0.6708, allocations: 6.324 MB / 0.8578 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.6717, allocations: 0.5669 MB / 0.8584 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.6723, allocations: 386.4 kB / 0.8588 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/0.6727, allocations: 0.5069 MB / 0.8592 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.6728, allocations: 39.12 kB / 0.8593 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001603/0.6744, allocations: 334.7 kB / 0.8596 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 5.731e-06/0.6744, allocations: 0 / 0.8596 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.002257/0.6767, allocations: 1.129 MB / 0.8607 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.6768, allocations: 59.91 kB / 0.8608 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.6792, allocations: 1.892 MB / 0.8626 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/0.6793, allocations: 49.7 kB / 0.8627 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007045/0.68, allocations: 0.9146 MB / 0.8636 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.6801, allocations: 205 kB / 0.8637 GB, free: 1.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.6806, allocations: 302.6 kB / 0.864 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6807, allocations: 349.9 kB / 0.8644 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.6815, allocations: 441.9 kB / 0.8648 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/0.6825, allocations: 0.6801 MB / 0.8655 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.684, allocations: 0.9539 MB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.684, allocations: 4 kB / 0.8664 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002537/0.6866, allocations: 1.404 MB / 0.8678 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6866, allocations: 4 kB / 0.8678 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6866, allocations: 4 kB / 0.8678 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.6867, allocations: 8 kB / 0.8678 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.6879, allocations: 291.5 kB / 0.8681 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.6879, allocations: 11.94 kB / 0.8681 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.6896, allocations: 155.8 kB / 0.8682 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6897, allocations: 63.95 kB / 0.8683 GB, free: 13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001238/0.6909, allocations: 0.7017 MB / 0.869 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009123/0.6919, allocations: 0.6644 MB / 0.8696 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001364/0.6932, allocations: 0.8993 MB / 0.8705 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.866e-06/0.6933, allocations: 0 / 0.8705 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002219/0.6955, allocations: 1.35 MB / 0.8718 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6955, allocations: 4 kB / 0.8718 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6955, allocations: 7.938 kB / 0.8718 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6955, allocations: 8.375 kB / 0.8718 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.6966, allocations: 283.6 kB / 0.8721 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.6967, allocations: 11.94 kB / 0.8721 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.6983, allocations: 163.5 kB / 0.8723 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6984, allocations: 55.95 kB / 0.8723 GB, free: 8.727 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002704/0.6987, allocations: 237.3 kB / 0.8725 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.6989, allocations: 205.4 kB / 0.8727 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.701, allocations: 1.068 MB / 0.8738 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.701, allocations: 8 kB / 0.8738 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.701, allocations: 3.938 kB / 0.8738 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.701, allocations: 3.984 kB / 0.8738 GB, free: 7.195 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.7045, allocations: 2.402 MB / 0.8761 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.7045, allocations: 4 kB / 0.8761 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.705, allocations: 136 kB / 0.8763 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.7051, allocations: 8 kB / 0.8763 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.7051, allocations: 20 kB / 0.8763 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.7051, allocations: 11.94 kB / 0.8763 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7051, allocations: 0 / 0.8763 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.7077, allocations: 2.383 MB / 0.8786 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/0.7083, allocations: 354.3 kB / 0.879 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.7085, allocations: 16 kB / 0.879 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/0.7094, allocations: 99.69 kB / 0.8791 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.7095, allocations: 56.47 kB / 0.8791 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.7096, allocations: 27.98 kB / 0.8792 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001568/0.7111, allocations: 1.248 MB / 0.8804 GB, free: 248 kB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7111, allocations: 0 / 0.8804 GB, free: 248 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002164/0.7133, allocations: 0.92 MB / 0.8813 GB, free: 15.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000633/0.714, allocations: 342.6 kB / 0.8816 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.7166, allocations: 1.602 MB / 0.8832 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7166, allocations: 4 kB / 0.8832 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.7173, allocations: 391.5 kB / 0.8836 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/0.7228, allocations: 1.137 MB / 0.8847 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.728, allocations: 4.102 MB / 0.8887 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009426/0.729, allocations: 1.425 MB / 0.8901 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001947/0.7309, allocations: 412.9 kB / 0.8905 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.7313, allocations: 155.4 kB / 0.8906 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/0.7313, allocations: 0 / 0.8906 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of Templates: time 0.06419/0.7955, allocations: 38.24 MB / 0.928 GB, free: 15.91 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)