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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001724/0.001724, allocations: 191.8 kB / 16.25 MB, free: 6.145 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.776/0.776, allocations: 132.2 MB / 422.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 56.41 kB / 0.5013 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.444, allocations: 80.21 MB / 0.5796 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1453/0.5893, allocations: 153 MB / 0.729 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0394/0.6287, allocations: 30.15 MB / 0.7584 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008/0.6368, allocations: 127.1 kB / 0.7586 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.6403, allocations: 0.8702 MB / 0.7594 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009528/0.6498, allocations: 2.935 MB / 0.7623 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005751/0.6556, allocations: 2.296 MB / 0.7645 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007055/0.6627, allocations: 5.387 MB / 0.7698 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.6656, allocations: 2.193 MB / 0.7719 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005726/0.6714, allocations: 2.7 MB / 0.7746 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.6746, allocations: 2.027 MB / 0.7765 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003527/0.675, allocations: 212 kB / 0.7767 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.6773, allocations: 1.096 MB / 0.7778 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.6778, allocations: 0.5565 MB / 0.7784 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.6792, allocations: 1.267 MB / 0.7796 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00368/0.6828, allocations: 3.286 MB / 0.7828 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6829, allocations: 0 / 0.7828 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6829, allocations: 4 kB / 0.7828 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.314e-05/0.6829, allocations: 0 / 0.7828 GB, free: 1.047 MB / 0.6075 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.004812/0.6877, allocations: 2.787 MB / 0.7855 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6878, allocations: 8.031 kB / 0.7855 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.6882, allocations: 268.8 kB / 0.7858 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.6902, allocations: 1.442 MB / 0.7872 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/0.6903, allocations: 106.3 kB / 0.7873 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.6905, allocations: 136 kB / 0.7874 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.6925, allocations: 1.163 MB / 0.7886 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.6925, allocations: 4 kB / 0.7886 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.6926, allocations: 47.94 kB / 0.7886 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.6927, allocations: 28 kB / 0.7886 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.6943, allocations: 1.016 MB / 0.7896 GB, free: 9.867 MB / 0.6231 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.009462/0.7038, allocations: 6.304 MB / 0.7958 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.7048, allocations: 0.5637 MB / 0.7963 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.7055, allocations: 390.3 kB / 0.7967 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004831/0.706, allocations: 0.507 MB / 0.7972 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.706, allocations: 43.12 kB / 0.7973 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/0.708, allocations: 306.7 kB / 0.7975 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.627e-06/0.708, allocations: 0 / 0.7975 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002207/0.7102, allocations: 1.164 MB / 0.7987 GB, free: 0 / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.7103, allocations: 60.02 kB / 0.7987 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.7128, allocations: 1.9 MB / 0.8006 GB, free: 14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.804e-05/0.7129, allocations: 45.7 kB / 0.8006 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008091/0.7137, allocations: 0.9185 MB / 0.8015 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.7139, allocations: 201.1 kB / 0.8017 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/0.7143, allocations: 306.5 kB / 0.802 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7145, allocations: 345.9 kB / 0.8024 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/0.7153, allocations: 461.9 kB / 0.8028 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.7163, allocations: 0.6987 MB / 0.8035 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.7178, allocations: 0.9812 MB / 0.8044 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7178, allocations: 0 / 0.8044 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002607/0.7204, allocations: 1.428 MB / 0.8058 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7204, allocations: 4 kB / 0.8058 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7205, allocations: 4 kB / 0.8058 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.7205, allocations: 11.94 kB / 0.8058 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.7218, allocations: 295.5 kB / 0.8061 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.7218, allocations: 8 kB / 0.8061 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.7236, allocations: 151.7 kB / 0.8063 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.7237, allocations: 59.94 kB / 0.8063 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/0.725, allocations: 0.7173 MB / 0.807 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009496/0.7259, allocations: 0.6761 MB / 0.8077 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/0.7273, allocations: 0.9344 MB / 0.8086 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.7274, allocations: 4 kB / 0.8086 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002316/0.7297, allocations: 1.373 MB / 0.81 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7297, allocations: 4 kB / 0.81 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7297, allocations: 7.938 kB / 0.81 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.7297, allocations: 8 kB / 0.81 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.7309, allocations: 288 kB / 0.8102 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.731, allocations: 15.88 kB / 0.8103 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7327, allocations: 151.5 kB / 0.8104 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.7328, allocations: 59.95 kB / 0.8105 GB, free: 3.594 MB / 0.6387 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.0003482/0.7331, allocations: 236 kB / 0.8107 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.7334, allocations: 201.5 kB / 0.8109 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.7355, allocations: 1.102 MB / 0.812 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.7356, allocations: 11.94 kB / 0.812 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7356, allocations: 0 / 0.812 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7356, allocations: 3.984 kB / 0.812 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3248/1.06, allocations: 2.441 MB / 0.8144 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.06, allocations: 1.625 kB / 0.8144 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/1.061, allocations: 137.4 kB / 0.8145 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/1.061, allocations: 5.094 kB / 0.8145 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/1.061, allocations: 18.62 kB / 0.8145 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/1.061, allocations: 8.828 kB / 0.8145 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.061, allocations: 5.062 kB / 0.8145 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/1.063, allocations: 1.069 MB / 0.8156 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007696/1.064, allocations: 358.1 kB / 0.8159 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/1.064, allocations: 18.2 kB / 0.8159 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.065, allocations: 96.36 kB / 0.816 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.065, allocations: 56.66 kB / 0.8161 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/1.065, allocations: 25.27 kB / 0.8161 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002028/1.068, allocations: 1.247 MB / 0.8173 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/1.068, allocations: 3.938 kB / 0.8173 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002961/1.071, allocations: 0.9041 MB / 0.8182 GB, free: 216.1 MB / 0.6387 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.0008357/1.071, allocations: 345.7 kB / 0.8185 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003612/1.075, allocations: 1.695 MB / 0.8202 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.075, allocations: 0.7188 kB / 0.8202 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/1.076, allocations: 409.9 kB / 0.8206 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/1.081, allocations: 1.088 MB / 0.8216 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/1.086, allocations: 3.726 MB / 0.8253 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000985/1.087, allocations: 1.407 MB / 0.8267 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002432/1.09, allocations: 408.7 kB / 0.827 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/1.09, allocations: 159.7 kB / 0.8272 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.303e-06/1.09, allocations: 0 / 0.8272 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.05645/1.147, allocations: 38.19 MB / 0.8645 GB, free: 185.1 MB / 0.6387 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)