Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.009641/0.009641, allocations: 99.66 kB / 15.73 MB, free: 6.035 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.001752/0.001752, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.692/1.692, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 251.7 MB / 0.5094 GB, free: 3.109 MB / 414.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.001496/0.001496, allocations: 67.91 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.8333/1.115, allocations: 155.1 MB / 0.9796 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06592/1.181, allocations: 34.68 MB / 1.013 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01143/1.193, allocations: 156.2 kB / 1.014 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005379/1.198, allocations: 1.059 MB / 1.015 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01606/1.214, allocations: 3.287 MB / 1.018 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009095/1.224, allocations: 2.503 MB / 1.02 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01308/1.237, allocations: 5.327 MB / 1.025 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005783/1.242, allocations: 2.205 MB / 1.028 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009734/1.252, allocations: 2.724 MB / 1.03 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/1.258, allocations: 1.933 MB / 1.032 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001679/1.26, allocations: 208 kB / 1.032 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005585/1.265, allocations: 1.088 MB / 1.033 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001806/1.267, allocations: 0.5448 MB / 1.034 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004293/1.272, allocations: 1.248 MB / 1.035 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008381/1.28, allocations: 3.278 MB / 1.038 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.28, allocations: 3.938 kB / 1.038 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/1.28, allocations: 0 / 1.038 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000151/1.28, allocations: 0 / 1.038 GB, free: 12.17 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.009678/1.29, allocations: 2.744 MB / 1.041 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.29, allocations: 8.031 kB / 1.041 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/1.291, allocations: 260.8 kB / 1.041 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/1.295, allocations: 1.492 MB / 1.043 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/1.296, allocations: 106.3 kB / 1.043 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/1.296, allocations: 136 kB / 1.043 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/1.299, allocations: 1.163 MB / 1.044 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.299, allocations: 0 / 1.044 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/1.299, allocations: 48 kB / 1.044 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/1.299, allocations: 28 kB / 1.044 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/1.301, allocations: 1.005 MB / 1.045 GB, free: 5.016 MB / 0.7794 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.01197/1.313, allocations: 6.28 MB / 1.051 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/1.314, allocations: 0.5605 MB / 1.052 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/1.315, allocations: 378.4 kB / 1.052 GB, free: 13.32 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/1.316, allocations: 0.507 MB / 1.053 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.316, allocations: 39.12 kB / 1.053 GB, free: 12.66 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001648/1.317, allocations: 230.8 kB / 1.053 GB, free: 12.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=58): time 6.462e-06/1.317, allocations: 0 / 1.053 GB, free: 12.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=58): time 0.002776/1.32, allocations: 1.145 MB / 1.054 GB, free: 11.28 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/1.32, allocations: 63.91 kB / 1.054 GB, free: 11.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/1.323, allocations: 1.847 MB / 1.056 GB, free: 9.332 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/1.324, allocations: 45.7 kB / 1.056 GB, free: 9.281 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.325, allocations: 0.9143 MB / 1.057 GB, free: 8.355 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/1.325, allocations: 205.1 kB / 1.057 GB, free: 8.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005596/1.325, allocations: 294.6 kB / 1.057 GB, free: 7.859 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.326, allocations: 349.9 kB / 1.058 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009604/1.327, allocations: 453.9 kB / 1.058 GB, free: 7.066 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/1.328, allocations: 0.6897 MB / 1.059 GB, free: 6.297 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.329, allocations: 0.9735 MB / 1.06 GB, free: 5.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.329, allocations: 0 / 1.06 GB, free: 5.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003166/1.333, allocations: 1.424 MB / 1.061 GB, free: 3.852 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.333, allocations: 4.375 kB / 1.061 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.333, allocations: 8 kB / 1.061 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.333, allocations: 11.94 kB / 1.061 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.334, allocations: 287.5 kB / 1.061 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/1.334, allocations: 19.86 kB / 1.061 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.336, allocations: 83.83 kB / 1.062 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/1.336, allocations: 59.95 kB / 1.062 GB, free: 3.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001567/1.338, allocations: 0.7172 MB / 1.062 GB, free: 2.664 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/1.339, allocations: 0.6606 MB / 1.063 GB, free: 1.926 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001805/1.341, allocations: 0.9305 MB / 1.064 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.175e-06/1.341, allocations: 0 / 1.064 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003028/1.344, allocations: 1.365 MB / 1.065 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.344, allocations: 10.66 kB / 1.065 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.344, allocations: 0 / 1.065 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.344, allocations: 12 kB / 1.065 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.345, allocations: 287.9 kB / 1.066 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/1.345, allocations: 8 kB / 1.066 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.347, allocations: 107.7 kB / 1.066 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/1.347, allocations: 63.94 kB / 1.066 GB, free: 15.1 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.0004709/1.348, allocations: 236 kB / 1.066 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007737/1.349, allocations: 197.5 kB / 1.066 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/1.351, allocations: 1.079 MB / 1.067 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/1.351, allocations: 8 kB / 1.067 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.351, allocations: 3.938 kB / 1.067 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.351, allocations: 3.984 kB / 1.067 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/1.356, allocations: 2.417 MB / 1.07 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.356, allocations: 0 / 1.07 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008655/1.357, allocations: 131.8 kB / 1.07 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/1.357, allocations: 7.984 kB / 1.07 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/1.357, allocations: 20 kB / 1.07 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.357, allocations: 8.188 kB / 1.07 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/1.357, allocations: 4 kB / 1.07 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/1.359, allocations: 1.058 MB / 1.071 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/1.36, allocations: 342.4 kB / 1.071 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/1.361, allocations: 19.98 kB / 1.071 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.362, allocations: 31.97 kB / 1.071 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.362, allocations: 60.52 kB / 1.071 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/1.362, allocations: 20 kB / 1.071 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003634/1.366, allocations: 1.223 MB / 1.072 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/1.366, allocations: 0 / 1.072 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004022/1.37, allocations: 0.9004 MB / 1.073 GB, free: 7.176 MB / 0.8106 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.001228/1.371, allocations: 340.3 kB / 1.074 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003904/1.375, allocations: 1.642 MB / 1.075 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.375, allocations: 0 / 1.075 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008234/1.376, allocations: 411.5 kB / 1.076 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005445/1.382, allocations: 1.113 MB / 1.077 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/1.388, allocations: 2.951 MB / 1.08 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.389, allocations: 1.393 MB / 1.081 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001995/1.391, allocations: 406.2 kB / 1.081 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/1.392, allocations: 163.4 kB / 1.081 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of SimCode: time 1.182e-06/1.392, allocations: 0 / 1.081 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of Templates: time 0.07391/1.466, allocations: 38.83 MB / 1.119 GB, free: 8.551 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)