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.001772/0.001772, allocations: 108.3 kB / 16.37 MB, free: 6.473 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.002116/0.002116, allocations: 186.7 kB / 17.31 MB, free: 5.824 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.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001676/0.001676, allocations: 82.22 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2445, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5687/0.8132, allocations: 155.1 MB / 0.9363 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05534/0.8686, allocations: 34.74 MB / 0.9702 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008074/0.8767, allocations: 154.9 kB / 0.9704 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003955/0.8808, allocations: 1.044 MB / 0.9714 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.8912, allocations: 3.144 MB / 0.9745 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006699/0.898, allocations: 2.495 MB / 0.9769 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009137/0.9071, allocations: 5.322 MB / 0.9821 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.9117, allocations: 2.191 MB / 0.9842 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006939/0.9187, allocations: 2.669 MB / 0.9868 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.9228, allocations: 1.945 MB / 0.9887 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.9239, allocations: 208 kB / 0.9889 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.9278, allocations: 1.088 MB / 0.99 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.929, allocations: 0.5409 MB / 0.9905 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.932, allocations: 1.259 MB / 0.9918 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.9377, allocations: 3.282 MB / 0.995 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9378, allocations: 0 / 0.995 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9378, allocations: 3.938 kB / 0.995 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001303/0.9379, allocations: 0 / 0.995 GB, free: 2.902 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.006586/0.9445, allocations: 2.747 MB / 0.9976 GB, free: 96 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9446, allocations: 12.03 kB / 0.9977 GB, free: 84 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007034/0.9453, allocations: 257 kB / 0.9979 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.9484, allocations: 1.495 MB / 0.9994 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/0.9485, allocations: 110.3 kB / 0.9995 GB, free: 14.15 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/0.9488, allocations: 136 kB / 0.9996 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.9512, allocations: 1.159 MB / 1.001 GB, free: 12.83 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.9513, allocations: 0 / 1.001 GB, free: 12.83 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.9514, allocations: 48 kB / 1.001 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.9514, allocations: 28 kB / 1.001 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.9534, allocations: 1.009 MB / 1.002 GB, free: 11.74 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.01147/0.9648, allocations: 6.297 MB / 1.008 GB, free: 4.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.9659, allocations: 0.5758 MB / 1.008 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.9665, allocations: 382.8 kB / 1.009 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/0.9671, allocations: 0.507 MB / 1.009 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.9671, allocations: 39.12 kB / 1.009 GB, free: 3.348 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001569/0.9687, allocations: 234.8 kB / 1.01 GB, free: 3.117 MB / 0.795 GB Notification: Performance of pre-optimization done (n=58): time 6.582e-06/0.9687, allocations: 0 / 1.01 GB, free: 3.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=58): time 0.002553/0.9713, allocations: 1.156 MB / 1.011 GB, free: 1.953 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.9713, allocations: 63.84 kB / 1.011 GB, free: 1.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/0.9744, allocations: 1.847 MB / 1.013 GB, free: 4 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.9746, allocations: 41.7 kB / 1.013 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009302/0.9755, allocations: 0.9143 MB / 1.014 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.9757, allocations: 205 kB / 1.014 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005868/0.9763, allocations: 294.6 kB / 1.014 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.9765, allocations: 353.9 kB / 1.014 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.9774, allocations: 457.9 kB / 1.015 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.9785, allocations: 0.6942 MB / 1.015 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.9804, allocations: 0.9774 MB / 1.016 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.9804, allocations: 4 kB / 1.016 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002955/0.9834, allocations: 1.432 MB / 1.018 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.9834, allocations: 6.031 kB / 1.018 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.9834, allocations: 4 kB / 1.018 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.9834, allocations: 8 kB / 1.018 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.9847, allocations: 295.5 kB / 1.018 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/0.9848, allocations: 17.47 kB / 1.018 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.9864, allocations: 79.92 kB / 1.018 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.9866, allocations: 55.95 kB / 1.018 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001482/0.9881, allocations: 0.7212 MB / 1.019 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001035/0.9891, allocations: 0.6645 MB / 1.02 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001546/0.9907, allocations: 0.9344 MB / 1.021 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.925e-06/0.9907, allocations: 0 / 1.021 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002601/0.9933, allocations: 1.382 MB / 1.022 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9933, allocations: 8 kB / 1.022 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9933, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9934, allocations: 8 kB / 1.022 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.9946, allocations: 279.5 kB / 1.022 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/0.9946, allocations: 19.88 kB / 1.022 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.9964, allocations: 105.3 kB / 1.022 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.9966, allocations: 61.12 kB / 1.022 GB, free: 5.738 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.0004855/0.9971, allocations: 233.1 kB / 1.023 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007484/0.9979, allocations: 201.5 kB / 1.023 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/1.001, allocations: 1.086 MB / 1.024 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.001, allocations: 11.94 kB / 1.024 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.001, allocations: 4 kB / 1.024 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/1.001, allocations: 3.984 kB / 1.024 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/1.006, allocations: 2.421 MB / 1.026 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/1.006, allocations: 8.031 kB / 1.026 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/1.007, allocations: 135.8 kB / 1.026 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.007, allocations: 4 kB / 1.026 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/1.007, allocations: 16.5 kB / 1.026 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/1.007, allocations: 4 kB / 1.026 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.007, allocations: 3.938 kB / 1.026 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.009, allocations: 1.066 MB / 1.027 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009778/1.01, allocations: 346.4 kB / 1.028 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/1.01, allocations: 16 kB / 1.028 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/1.011, allocations: 39.95 kB / 1.028 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.012, allocations: 53.78 kB / 1.028 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/1.012, allocations: 23.94 kB / 1.028 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002186/1.014, allocations: 1.219 MB / 1.029 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/1.014, allocations: 0 / 1.029 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003215/1.017, allocations: 0.9082 MB / 1.03 GB, free: 13.79 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.0007999/1.018, allocations: 347 kB / 1.03 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003517/1.021, allocations: 1.654 MB / 1.032 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.021, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007629/1.022, allocations: 419.9 kB / 1.032 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/1.027, allocations: 1.096 MB / 1.033 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/1.033, allocations: 2.999 MB / 1.036 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.034, allocations: 1.393 MB / 1.038 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006863/1.035, allocations: 167.4 kB / 1.038 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of SimCode: time 7.71e-07/1.035, allocations: 0 / 1.038 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of Templates: time 0.04647/1.081, allocations: 30.92 MB / 1.068 GB, free: 7.242 MB / 0.8575 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)