Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001315/0.001315, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001297/0.001297, allocations: 184 kB / 17.22 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.859/1.859, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 71.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3342, allocations: 114.5 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.8291/1.163, allocations: 155.1 MB / 0.9356 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06124/1.225, allocations: 34.75 MB / 0.9695 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01007/1.235, allocations: 154.9 kB / 0.9697 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004255/1.239, allocations: 1.036 MB / 0.9707 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01016/1.249, allocations: 3.134 MB / 0.9737 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0066/1.256, allocations: 2.507 MB / 0.9762 GB, free: 6.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007788/1.264, allocations: 5.309 MB / 0.9814 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003371/1.267, allocations: 2.207 MB / 0.9835 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005889/1.273, allocations: 2.653 MB / 0.9861 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004191/1.277, allocations: 1.941 MB / 0.988 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007947/1.278, allocations: 212 kB / 0.9882 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/1.282, allocations: 1.092 MB / 0.9893 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006215/1.282, allocations: 0.5487 MB / 0.9898 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001993/1.284, allocations: 1.252 MB / 0.991 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004519/1.289, allocations: 3.278 MB / 0.9942 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.289, allocations: 0 / 0.9942 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/1.289, allocations: 0 / 0.9942 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.713e-05/1.289, allocations: 0 / 0.9942 GB, free: 3.434 MB / 0.7794 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.005388/1.294, allocations: 2.747 MB / 0.9969 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.294, allocations: 12.03 kB / 0.9969 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/1.295, allocations: 260.9 kB / 0.9972 GB, free: 364 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/1.297, allocations: 1.433 MB / 0.9986 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/1.297, allocations: 106.3 kB / 0.9987 GB, free: 14.74 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/1.297, allocations: 136 kB / 0.9988 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/1.3, allocations: 1.163 MB / 0.9999 GB, free: 13.42 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.3, allocations: 4 kB / 0.9999 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/1.3, allocations: 52 kB / 1 GB, free: 13.36 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/1.3, allocations: 31.62 kB / 1 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.302, allocations: 1.013 MB / 1.001 GB, free: 12.32 MB / 0.795 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/1.311, allocations: 6.294 MB / 1.007 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009367/1.312, allocations: 0.568 MB / 1.008 GB, free: 4.977 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/1.313, allocations: 380.4 kB / 1.008 GB, free: 4.605 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/1.313, allocations: 0.5109 MB / 1.009 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.314, allocations: 39.12 kB / 1.009 GB, free: 3.934 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001317/1.315, allocations: 238.8 kB / 1.009 GB, free: 3.699 MB / 0.795 GB Notification: Performance of pre-optimization done (n=58): time 3.597e-06/1.315, allocations: 0 / 1.009 GB, free: 3.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=58): time 0.002126/1.317, allocations: 1.156 MB / 1.01 GB, free: 2.535 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/1.317, allocations: 63.91 kB / 1.01 GB, free: 2.461 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/1.319, allocations: 1.839 MB / 1.012 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.32, allocations: 57.62 kB / 1.012 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/1.32, allocations: 0.9066 MB / 1.013 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/1.321, allocations: 209 kB / 1.013 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/1.321, allocations: 290.6 kB / 1.013 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.321, allocations: 349.9 kB / 1.014 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008158/1.322, allocations: 457.9 kB / 1.014 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.323, allocations: 0.6918 MB / 1.015 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.325, allocations: 0.9813 MB / 1.016 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.325, allocations: 4 kB / 1.016 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002626/1.327, allocations: 1.424 MB / 1.017 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.327, allocations: 11.98 kB / 1.017 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.327, allocations: 4 kB / 1.017 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.327, allocations: 8 kB / 1.017 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.329, allocations: 291.5 kB / 1.017 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.329, allocations: 8 kB / 1.017 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.33, allocations: 83.92 kB / 1.017 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.33, allocations: 59.94 kB / 1.017 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001286/1.332, allocations: 0.7134 MB / 1.018 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/1.333, allocations: 0.6684 MB / 1.019 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001529/1.334, allocations: 0.9383 MB / 1.02 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.187e-06/1.334, allocations: 2.734 kB / 1.02 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002442/1.337, allocations: 1.381 MB / 1.021 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.337, allocations: 8 kB / 1.021 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.337, allocations: 4 kB / 1.021 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.337, allocations: 12.31 kB / 1.021 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.338, allocations: 283.5 kB / 1.021 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.338, allocations: 15.94 kB / 1.021 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.339, allocations: 99.7 kB / 1.022 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.34, allocations: 59.95 kB / 1.022 GB, free: 6.324 MB / 0.8106 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.0003584/1.34, allocations: 233.1 kB / 1.022 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/1.34, allocations: 197.5 kB / 1.022 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/1.342, allocations: 1.094 MB / 1.023 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.342, allocations: 15.88 kB / 1.023 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.342, allocations: 2.312 kB / 1.023 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.342, allocations: 3.984 kB / 1.023 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/1.346, allocations: 2.421 MB / 1.025 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.346, allocations: 4 kB / 1.025 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/1.347, allocations: 135.8 kB / 1.026 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/1.347, allocations: 4 kB / 1.026 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/1.347, allocations: 24.17 kB / 1.026 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.347, allocations: 7.938 kB / 1.026 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.347, allocations: 0 / 1.026 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/1.348, allocations: 1.066 MB / 1.027 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/1.349, allocations: 342.4 kB / 1.027 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.349, allocations: 16 kB / 1.027 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/1.35, allocations: 31.95 kB / 1.027 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.35, allocations: 60.67 kB / 1.027 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/1.35, allocations: 27.92 kB / 1.027 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001634/1.352, allocations: 1.215 MB / 1.028 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/1.352, allocations: 0 / 1.028 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002137/1.354, allocations: 0.912 MB / 1.029 GB, free: 14.37 MB / 0.8262 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.0006878/1.355, allocations: 337.5 kB / 1.029 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002918/1.357, allocations: 1.649 MB / 1.031 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.357, allocations: 4 kB / 1.031 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006608/1.358, allocations: 415.5 kB / 1.032 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/1.363, allocations: 1.112 MB / 1.033 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/1.369, allocations: 2.943 MB / 1.035 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.37, allocations: 1.397 MB / 1.037 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002009/1.372, allocations: 406.1 kB / 1.037 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/1.372, allocations: 159.4 kB / 1.037 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of SimCode: time 8.52e-07/1.372, allocations: 0 / 1.037 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.06318/1.435, allocations: 38.75 MB / 1.075 GB, free: 15.94 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)