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.001042/0.001042, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001254/0.001254, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 263.1 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003933, allocations: 18.06 kB / 0.598 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.471/0.6666, allocations: 142.6 MB / 0.8238 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03574/0.7024, allocations: 28.63 MB / 0.8517 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007043/0.7095, allocations: 121.7 kB / 0.8519 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.7126, allocations: 0.6844 MB / 0.8525 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008024/0.7206, allocations: 2.508 MB / 0.855 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005379/0.726, allocations: 2.021 MB / 0.857 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007253/0.7333, allocations: 6.25 MB / 0.8631 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.7358, allocations: 1.674 MB / 0.8647 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.741, allocations: 2.207 MB / 0.8668 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.7442, allocations: 1.801 MB / 0.8686 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003505/0.7446, allocations: 96 kB / 0.8687 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.7471, allocations: 0.8461 MB / 0.8695 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.7477, allocations: 414 kB / 0.8699 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.7487, allocations: 472.4 kB / 0.8704 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.7518, allocations: 2.415 MB / 0.8727 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7519, allocations: 4 kB / 0.8727 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.697e-06/0.7519, allocations: 0 / 0.8727 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.738e-05/0.7519, allocations: 3.938 kB / 0.8727 GB, free: 4.914 MB / 0.5762 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.004429/0.7564, allocations: 2.368 MB / 0.875 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7564, allocations: 8.031 kB / 0.8751 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.7568, allocations: 272.7 kB / 0.8753 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.7589, allocations: 1.369 MB / 0.8767 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.759, allocations: 102.3 kB / 0.8767 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.7591, allocations: 140 kB / 0.8769 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.7612, allocations: 1.156 MB / 0.878 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.7613, allocations: 0 / 0.878 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.7614, allocations: 48 kB / 0.8781 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.7614, allocations: 28 kB / 0.8781 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.7632, allocations: 1.024 MB / 0.8791 GB, free: 14.23 MB / 0.5919 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.009919/0.7731, allocations: 6.332 MB / 0.8853 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.774, allocations: 0.5785 MB / 0.8858 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.7746, allocations: 382.4 kB / 0.8862 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003976/0.775, allocations: 0.507 MB / 0.8867 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.775, allocations: 39.12 kB / 0.8867 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001239/0.7763, allocations: 334.8 kB / 0.887 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 3.998e-06/0.7763, allocations: 3.984 kB / 0.8871 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.00192/0.7782, allocations: 1.137 MB / 0.8882 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.7783, allocations: 55.97 kB / 0.8882 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.7805, allocations: 1.877 MB / 0.89 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.7805, allocations: 49.69 kB / 0.8901 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007586/0.7813, allocations: 0.9184 MB / 0.891 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.7815, allocations: 205.1 kB / 0.8912 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.7816, allocations: 24 kB / 0.8912 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.7818, allocations: 346.1 kB / 0.8915 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008874/0.7827, allocations: 410.4 kB / 0.8919 GB, free: 424 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/0.7836, allocations: 0.6496 MB / 0.8926 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/0.7844, allocations: 0.4905 MB / 0.893 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7845, allocations: 0 / 0.893 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00213/0.7866, allocations: 1.346 MB / 0.8944 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.7867, allocations: 186.7 kB / 0.8945 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7867, allocations: 4 kB / 0.8945 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.7868, allocations: 11.94 kB / 0.8946 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.7879, allocations: 283.5 kB / 0.8948 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.788, allocations: 12 kB / 0.8948 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.7893, allocations: 143.7 kB / 0.895 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.7894, allocations: 55.95 kB / 0.895 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.7895, allocations: 4 kB / 0.895 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001807/0.7913, allocations: 1.124 MB / 0.8961 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7913, allocations: 11.88 kB / 0.8961 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.7913, allocations: 8 kB / 0.8961 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.7924, allocations: 276 kB / 0.8964 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.7924, allocations: 15.94 kB / 0.8964 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.7937, allocations: 146.5 kB / 0.8966 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.7938, allocations: 55.95 kB / 0.8966 GB, free: 11.48 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006602/0.7944, allocations: 448.8 kB / 0.897 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.7947, allocations: 205.3 kB / 0.8972 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.7966, allocations: 1.069 MB / 0.8983 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.7967, allocations: 16 kB / 0.8983 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.7967, allocations: 4 kB / 0.8983 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.7967, allocations: 3.984 kB / 0.8983 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.8001, allocations: 2.398 MB / 0.9007 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8001, allocations: 0 / 0.9007 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.8006, allocations: 135.8 kB / 0.9008 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.8006, allocations: 7.984 kB / 0.9008 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.8007, allocations: 20 kB / 0.9008 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.8007, allocations: 8.188 kB / 0.9008 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8007, allocations: 7.938 kB / 0.9008 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.8021, allocations: 1.058 MB / 0.9019 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/0.8026, allocations: 374.2 kB / 0.9022 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.8028, allocations: 16 kB / 0.9022 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/0.8036, allocations: 99.66 kB / 0.9023 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.8038, allocations: 60.48 kB / 0.9024 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.8038, allocations: 27.98 kB / 0.9024 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001581/0.8054, allocations: 1.229 MB / 0.9036 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8054, allocations: 0 / 0.9036 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001981/0.8074, allocations: 0.8888 MB / 0.9045 GB, free: 3.262 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006351/0.8081, allocations: 341.2 kB / 0.9048 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.8106, allocations: 1.552 MB / 0.9063 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8106, allocations: 384 / 0.9063 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.8112, allocations: 399.5 kB / 0.9067 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/0.8159, allocations: 1.142 MB / 0.9078 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.8209, allocations: 3.52 MB / 0.9113 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/0.8219, allocations: 1.409 MB / 0.9126 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002028/0.8239, allocations: 402.3 kB / 0.913 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.8243, allocations: 159.4 kB / 0.9132 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/0.8243, allocations: 0 / 0.9132 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.05765/0.882, allocations: 35.92 MB / 0.9482 GB, free: 6.977 MB / 0.6544 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)