Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00131/0.00131, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 199.5 kB / 16.79 MB, free: 6.828 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9328/0.9328, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.31 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1797, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5105/0.6902, allocations: 153.3 MB / 0.7341 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.07717/0.7674, allocations: 30.43 MB / 0.7638 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009729/0.7772, allocations: 127.2 kB / 0.7639 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006238/0.7836, allocations: 0.8233 MB / 0.7647 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01706/0.8007, allocations: 2.9 MB / 0.7676 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.8129, allocations: 2.287 MB / 0.7698 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01622/0.8291, allocations: 7.38 MB / 0.777 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005991/0.8352, allocations: 1.897 MB / 0.7789 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007923/0.8432, allocations: 2.419 MB / 0.7812 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004147/0.8474, allocations: 1.976 MB / 0.7832 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009134/0.8483, allocations: 120 kB / 0.7833 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.8516, allocations: 0.967 MB / 0.7842 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.8527, allocations: 481.8 kB / 0.7847 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002624/0.8553, allocations: 1.173 MB / 0.7858 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.859, allocations: 2.479 MB / 0.7882 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.859, allocations: 0 / 0.7882 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.859, allocations: 0 / 0.7882 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001349/0.8591, allocations: 7.938 kB / 0.7882 GB, free: 14.81 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.006825/0.866, allocations: 2.785 MB / 0.791 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.866, allocations: 8.031 kB / 0.791 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.8668, allocations: 264.8 kB / 0.7912 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.8698, allocations: 1.449 MB / 0.7926 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.87, allocations: 106.3 kB / 0.7927 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/0.8703, allocations: 140 kB / 0.7929 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.8728, allocations: 1.163 MB / 0.794 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.8729, allocations: 0 / 0.794 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.873, allocations: 44 kB / 0.7941 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.873, allocations: 31.94 kB / 0.7941 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.875, allocations: 1.013 MB / 0.7951 GB, free: 7.645 MB / 0.6075 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.01033/0.8854, allocations: 6.319 MB / 0.8012 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.8863, allocations: 0.5649 MB / 0.8018 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.8869, allocations: 384.8 kB / 0.8022 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.8874, allocations: 0.5108 MB / 0.8027 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.8874, allocations: 39.12 kB / 0.8027 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001677/0.8891, allocations: 326.8 kB / 0.803 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.497e-06/0.8891, allocations: 0 / 0.803 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002042/0.8912, allocations: 1.129 MB / 0.8041 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.8912, allocations: 59.91 kB / 0.8042 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.8936, allocations: 1.9 MB / 0.806 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/0.8937, allocations: 45.7 kB / 0.8061 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/0.8944, allocations: 0.9146 MB / 0.807 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.8946, allocations: 205.1 kB / 0.8072 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/0.8951, allocations: 302.5 kB / 0.8074 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.8953, allocations: 349.9 kB / 0.8078 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/0.8961, allocations: 441.9 kB / 0.8082 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.8971, allocations: 0.6801 MB / 0.8089 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.8987, allocations: 0.95 MB / 0.8098 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.8987, allocations: 4 kB / 0.8098 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002657/0.9014, allocations: 1.404 MB / 0.8112 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9014, allocations: 4 kB / 0.8112 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9014, allocations: 4 kB / 0.8112 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.9015, allocations: 8 kB / 0.8112 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.9027, allocations: 287.5 kB / 0.8115 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.9027, allocations: 12.8 kB / 0.8115 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.9047, allocations: 151.6 kB / 0.8116 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.9048, allocations: 63.95 kB / 0.8117 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/0.9061, allocations: 0.7017 MB / 0.8124 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000976/0.9071, allocations: 0.6626 MB / 0.813 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/0.9086, allocations: 0.9071 MB / 0.8139 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.9086, allocations: 3.938 kB / 0.8139 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002516/0.9111, allocations: 1.353 MB / 0.8152 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9112, allocations: 10.03 kB / 0.8152 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9112, allocations: 0 / 0.8152 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.9112, allocations: 12 kB / 0.8152 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.9124, allocations: 287.9 kB / 0.8155 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.9124, allocations: 8 kB / 0.8155 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.9143, allocations: 163.6 kB / 0.8157 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.9145, allocations: 55.95 kB / 0.8157 GB, free: 1.559 MB / 0.6231 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.0003948/0.9149, allocations: 236 kB / 0.816 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/0.9154, allocations: 201.5 kB / 0.8161 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.9178, allocations: 1.071 MB / 0.8172 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.9178, allocations: 15.94 kB / 0.8172 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.9178, allocations: 7.938 kB / 0.8172 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.9178, allocations: 3.984 kB / 0.8172 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.9223, allocations: 2.398 MB / 0.8196 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.9224, allocations: 0 / 0.8196 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.923, allocations: 135.8 kB / 0.8197 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.923, allocations: 4 kB / 0.8197 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.923, allocations: 20.19 kB / 0.8197 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.9231, allocations: 8 kB / 0.8197 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9231, allocations: 0 / 0.8197 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.9247, allocations: 1.058 MB / 0.8208 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/0.9256, allocations: 350.4 kB / 0.8211 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.9258, allocations: 15.98 kB / 0.8211 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/0.9268, allocations: 99.55 kB / 0.8212 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.9269, allocations: 56.58 kB / 0.8213 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.927, allocations: 20 kB / 0.8213 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001751/0.9287, allocations: 1.252 MB / 0.8225 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9287, allocations: 0 / 0.8225 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002316/0.931, allocations: 0.9044 MB / 0.8234 GB, free: 9.566 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.0008319/0.9319, allocations: 341 kB / 0.8237 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002887/0.9348, allocations: 1.599 MB / 0.8253 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9348, allocations: 0 / 0.8253 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.9354, allocations: 403.8 kB / 0.8257 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/0.9408, allocations: 1.142 MB / 0.8268 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.9464, allocations: 3.751 MB / 0.8304 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009798/0.9474, allocations: 1.405 MB / 0.8318 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/0.948, allocations: 163.4 kB / 0.832 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of SimCode: time 1.342e-06/0.948, allocations: 0 / 0.832 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of Templates: time 0.0473/0.9954, allocations: 31.1 MB / 0.8623 GB, free: 1.934 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)