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.001503/0.001503, allocations: 103.9 kB / 16.35 MB, free: 5.879 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.001722/0.001722, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001505/0.001505, allocations: 75.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2555, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6094/0.865, allocations: 155.1 MB / 0.9363 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05852/0.9235, allocations: 34.74 MB / 0.9702 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009993/0.9336, allocations: 158.8 kB / 0.9703 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004173/0.9378, allocations: 1.047 MB / 0.9714 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.9487, allocations: 3.139 MB / 0.9744 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006932/0.9556, allocations: 2.498 MB / 0.9769 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008309/0.964, allocations: 5.307 MB / 0.9821 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004161/0.9682, allocations: 2.205 MB / 0.9842 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00659/0.9748, allocations: 2.661 MB / 0.9868 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.9788, allocations: 1.941 MB / 0.9887 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.9798, allocations: 212 kB / 0.9889 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.9836, allocations: 1.092 MB / 0.99 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.9848, allocations: 0.5448 MB / 0.9905 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003179/0.988, allocations: 1.248 MB / 0.9917 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.9946, allocations: 3.29 MB / 0.9949 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.9947, allocations: 0 / 0.9949 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.459e-06/0.9947, allocations: 0 / 0.9949 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001826/0.9949, allocations: 0 / 0.9949 GB, free: 2.949 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.008601/1.003, allocations: 2.743 MB / 0.9976 GB, free: 148 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.004, allocations: 12.03 kB / 0.9976 GB, free: 136 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.005, allocations: 262.3 kB / 0.9979 GB, free: 15.87 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/1.008, allocations: 1.421 MB / 0.9993 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/1.008, allocations: 102.3 kB / 0.9994 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004947/1.009, allocations: 144 kB / 0.9995 GB, free: 14.13 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/1.012, allocations: 1.159 MB / 1.001 GB, free: 12.95 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/1.012, allocations: 3.938 kB / 1.001 GB, free: 12.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/1.012, allocations: 56 kB / 1.001 GB, free: 12.89 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/1.012, allocations: 28 kB / 1.001 GB, free: 12.86 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/1.014, allocations: 1.009 MB / 1.002 GB, free: 11.84 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.01117/1.025, allocations: 6.297 MB / 1.008 GB, free: 5.078 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/1.026, allocations: 0.568 MB / 1.008 GB, free: 4.504 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/1.027, allocations: 384.4 kB / 1.009 GB, free: 4.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004303/1.027, allocations: 0.5031 MB / 1.009 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.027, allocations: 43.12 kB / 1.009 GB, free: 3.461 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001422/1.029, allocations: 238.8 kB / 1.01 GB, free: 3.227 MB / 0.795 GB Notification: Performance of pre-optimization done (n=58): time 3.186e-06/1.029, allocations: 0 / 1.01 GB, free: 3.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=58): time 0.002133/1.031, allocations: 1.156 MB / 1.011 GB, free: 2.062 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.031, allocations: 59.91 kB / 1.011 GB, free: 1.992 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.033, allocations: 1.843 MB / 1.013 GB, free: 124 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/1.033, allocations: 45.7 kB / 1.013 GB, free: 72 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/1.034, allocations: 0.9105 MB / 1.013 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/1.034, allocations: 205 kB / 1.014 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/1.035, allocations: 294.6 kB / 1.014 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.035, allocations: 357.9 kB / 1.014 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/1.036, allocations: 459.8 kB / 1.015 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/1.037, allocations: 0.6899 MB / 1.015 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/1.038, allocations: 0.9852 MB / 1.016 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.038, allocations: 7.938 kB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002547/1.041, allocations: 1.424 MB / 1.018 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.041, allocations: 8.375 kB / 1.018 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.041, allocations: 8 kB / 1.018 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.041, allocations: 8.047 kB / 1.018 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.042, allocations: 299.5 kB / 1.018 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/1.042, allocations: 11.98 kB / 1.018 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.044, allocations: 77.73 kB / 1.018 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.044, allocations: 59.94 kB / 1.018 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001306/1.045, allocations: 0.7173 MB / 1.019 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009547/1.046, allocations: 0.6684 MB / 1.02 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001428/1.048, allocations: 0.9305 MB / 1.02 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/1.048, allocations: 0 / 1.02 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002407/1.05, allocations: 1.381 MB / 1.022 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.05, allocations: 8 kB / 1.022 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.05, allocations: 4 kB / 1.022 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.05, allocations: 8 kB / 1.022 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.052, allocations: 286.4 kB / 1.022 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/1.052, allocations: 11.94 kB / 1.022 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.053, allocations: 103.7 kB / 1.022 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.053, allocations: 61.05 kB / 1.022 GB, free: 5.852 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.0003627/1.054, allocations: 237.1 kB / 1.022 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/1.054, allocations: 197.5 kB / 1.023 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/1.056, allocations: 1.096 MB / 1.024 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/1.056, allocations: 11.94 kB / 1.024 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.056, allocations: 0 / 1.024 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.056, allocations: 3.984 kB / 1.024 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/1.061, allocations: 2.424 MB / 1.026 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.061, allocations: 4 kB / 1.026 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/1.062, allocations: 131.8 kB / 1.026 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/1.062, allocations: 4 kB / 1.026 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/1.062, allocations: 19.98 kB / 1.026 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.062, allocations: 8.188 kB / 1.026 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.062, allocations: 0 / 1.026 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.064, allocations: 1.07 MB / 1.027 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008233/1.064, allocations: 342.4 kB / 1.028 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/1.065, allocations: 17.67 kB / 1.028 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009527/1.066, allocations: 31.97 kB / 1.028 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.066, allocations: 60.52 kB / 1.028 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/1.066, allocations: 27.94 kB / 1.028 GB, free: 40 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002144/1.068, allocations: 1.219 MB / 1.029 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/1.068, allocations: 0 / 1.029 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003469/1.072, allocations: 0.9043 MB / 1.03 GB, free: 13.89 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.001056/1.073, allocations: 341.9 kB / 1.03 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003465/1.076, allocations: 1.653 MB / 1.032 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.076, allocations: 4 kB / 1.032 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006765/1.077, allocations: 411.5 kB / 1.032 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/1.082, allocations: 1.107 MB / 1.033 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/1.088, allocations: 2.947 MB / 1.036 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/1.089, allocations: 1.401 MB / 1.038 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002067/1.091, allocations: 403.3 kB / 1.038 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/1.092, allocations: 155.4 kB / 1.038 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of SimCode: time 1.723e-06/1.092, allocations: 0 / 1.038 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.0659/1.157, allocations: 38.75 MB / 1.076 GB, free: 15.46 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)