Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007592/0.0007592, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005049/0.005049, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 270.8 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9435/0.9435, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004569, allocations: 17.48 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4475/0.6013, allocations: 151 MB / 0.8326 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03803/0.6393, allocations: 30.15 MB / 0.8621 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005914/0.6453, allocations: 124.2 kB / 0.8622 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.6485, allocations: 0.8114 MB / 0.863 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008715/0.6572, allocations: 2.907 MB / 0.8658 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.6632, allocations: 2.302 MB / 0.868 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008764/0.672, allocations: 7.39 MB / 0.8753 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.6755, allocations: 1.848 MB / 0.8771 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006183/0.6817, allocations: 2.368 MB / 0.8794 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.6852, allocations: 1.902 MB / 0.8812 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004976/0.6858, allocations: 100 kB / 0.8813 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.6883, allocations: 0.9358 MB / 0.8823 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005351/0.6889, allocations: 445.8 kB / 0.8827 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.6906, allocations: 1.148 MB / 0.8838 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003646/0.6942, allocations: 3.129 MB / 0.8869 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6942, allocations: 4 kB / 0.8869 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6942, allocations: 3.938 kB / 0.8869 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.519e-05/0.6943, allocations: 4 kB / 0.8869 GB, free: 6.066 MB / 0.5919 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.004538/0.6988, allocations: 2.352 MB / 0.8892 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6989, allocations: 8.031 kB / 0.8892 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/0.6994, allocations: 268.8 kB / 0.8894 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.7017, allocations: 1.446 MB / 0.8908 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.7017, allocations: 102.3 kB / 0.8909 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.702, allocations: 144 kB / 0.8911 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.7041, allocations: 1.156 MB / 0.8922 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.7041, allocations: 0 / 0.8922 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.7042, allocations: 55.94 kB / 0.8923 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.7043, allocations: 28 kB / 0.8923 GB, free: 360 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.7061, allocations: 1.02 MB / 0.8933 GB, free: 15.32 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.01081/0.7169, allocations: 6.34 MB / 0.8995 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.7179, allocations: 0.5824 MB / 0.9 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.7185, allocations: 386.4 kB / 0.9004 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004213/0.719, allocations: 0.5148 MB / 0.9009 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.719, allocations: 35.12 kB / 0.9009 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001661/0.7207, allocations: 330.8 kB / 0.9013 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.976e-06/0.7207, allocations: 0 / 0.9013 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.00204/0.7227, allocations: 1.148 MB / 0.9024 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.7228, allocations: 55.97 kB / 0.9024 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.7252, allocations: 1.9 MB / 0.9043 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7253, allocations: 49.7 kB / 0.9043 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.7261, allocations: 0.9185 MB / 0.9052 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.7262, allocations: 197.1 kB / 0.9054 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.7264, allocations: 117.6 kB / 0.9055 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7265, allocations: 357.9 kB / 0.9059 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/0.7273, allocations: 430.4 kB / 0.9063 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009677/0.7283, allocations: 0.6729 MB / 0.9069 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.7299, allocations: 0.9579 MB / 0.9079 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7299, allocations: 0 / 0.9079 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002367/0.7322, allocations: 1.393 MB / 0.9092 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.7324, allocations: 186.2 kB / 0.9094 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7324, allocations: 4 kB / 0.9094 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.7324, allocations: 23.86 kB / 0.9094 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.7336, allocations: 279.6 kB / 0.9097 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.7337, allocations: 12 kB / 0.9097 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.7356, allocations: 139.7 kB / 0.9099 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.7357, allocations: 67.94 kB / 0.9099 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.7358, allocations: 4 kB / 0.9099 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001865/0.7376, allocations: 1.124 MB / 0.911 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7376, allocations: 7.938 kB / 0.911 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.7377, allocations: 8 kB / 0.911 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7388, allocations: 275.6 kB / 0.9113 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.7388, allocations: 8 kB / 0.9113 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.7404, allocations: 143.6 kB / 0.9114 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/0.7405, allocations: 59.95 kB / 0.9115 GB, free: 11.81 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 (144): * Single equations (assignments): 144 * 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.000786/0.7413, allocations: 449.4 kB / 0.9119 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.7416, allocations: 201.4 kB / 0.9121 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.7438, allocations: 1.078 MB / 0.9132 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.7438, allocations: 8 kB / 0.9132 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7438, allocations: 0 / 0.9132 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.7438, allocations: 3.984 kB / 0.9132 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/0.7478, allocations: 2.421 MB / 0.9155 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7479, allocations: 0 / 0.9155 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.7484, allocations: 144 kB / 0.9157 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.7485, allocations: 7.938 kB / 0.9157 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.7485, allocations: 20 kB / 0.9157 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.7485, allocations: 4 kB / 0.9157 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7485, allocations: 0 / 0.9157 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.75, allocations: 1.058 MB / 0.9167 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/0.7508, allocations: 382.1 kB / 0.9171 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.751, allocations: 20 kB / 0.9171 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.7519, allocations: 95.75 kB / 0.9172 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.752, allocations: 48.59 kB / 0.9173 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.7521, allocations: 23.98 kB / 0.9173 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001642/0.7537, allocations: 1.256 MB / 0.9185 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7537, allocations: 0 / 0.9185 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002055/0.7558, allocations: 0.8887 MB / 0.9194 GB, free: 3.559 MB / 0.6231 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.0006868/0.7565, allocations: 349.8 kB / 0.9197 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002691/0.7592, allocations: 1.583 MB / 0.9213 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7592, allocations: 4 kB / 0.9213 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.7598, allocations: 408.6 kB / 0.9217 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006336/0.7662, allocations: 1.15 MB / 0.9228 GB, free: 108 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.7713, allocations: 3.718 MB / 0.9264 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009664/0.7723, allocations: 1.409 MB / 0.9278 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001969/0.7743, allocations: 399.3 kB / 0.9282 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.7748, allocations: 159.4 kB / 0.9283 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.7748, allocations: 0 / 0.9283 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.06241/0.8372, allocations: 37.01 MB / 0.9645 GB, free: 5.922 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)