Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8809/0.8809, allocations: 128.8 MB / 143.7 MB, free: 2.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 172.4 kB / 173.8 MB, free: 6.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.239/2.239, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 92.67 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 9.688 kB / 0.5604 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.676, allocations: 358.7 MB / 0.9856 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.677, allocations: 102.4 kB / 0.9857 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.083/2.759, allocations: 400.4 MB / 1.377 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.714e-06/2.759, allocations: 0 / 1.377 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.214e-05/2.759, allocations: 22.81 kB / 1.377 GB, free: 110.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00203/2.761, allocations: 1.168 MB / 1.378 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/2.761, allocations: 8.031 kB / 1.378 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/2.762, allocations: 94.88 kB / 1.378 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/2.763, allocations: 0.5701 MB / 1.379 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/2.763, allocations: 45 kB / 1.379 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/2.763, allocations: 59.34 kB / 1.379 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/2.764, allocations: 0.5092 MB / 1.379 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/2.764, allocations: 3.938 kB / 1.379 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/2.764, allocations: 16 kB / 1.379 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/2.764, allocations: 15.25 kB / 1.379 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/2.765, allocations: 417.6 kB / 1.38 GB, free: 107.5 MB / 0.6511 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.002584/2.768, allocations: 1.827 MB / 1.381 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/2.769, allocations: 284.1 kB / 1.382 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/2.769, allocations: 339.7 kB / 1.382 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/2.769, allocations: 34.5 kB / 1.382 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.937e-06/2.769, allocations: 112 / 1.382 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.002163/2.772, allocations: 0.5308 MB / 1.383 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/2.772, allocations: 51.41 kB / 1.383 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/2.772, allocations: 0.5818 MB / 1.383 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/2.772, allocations: 29.7 kB / 1.383 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/2.772, allocations: 375.1 kB / 1.384 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/2.772, allocations: 50.02 kB / 1.384 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/2.773, allocations: 12 kB / 1.384 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/2.773, allocations: 378.8 kB / 1.384 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/2.773, allocations: 131.1 kB / 1.384 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/2.773, allocations: 253.8 kB / 1.384 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/2.774, allocations: 175.4 kB / 1.384 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/2.774, allocations: 0 / 1.384 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000822/2.775, allocations: 446.9 kB / 1.385 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/2.775, allocations: 269.7 kB / 1.385 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.775, allocations: 4 kB / 1.385 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/2.775, allocations: 3.953 kB / 1.385 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/2.778, allocations: 450.9 kB / 1.386 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/2.78, allocations: 2.631 MB / 1.388 GB, free: 98.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/2.781, allocations: 102.5 kB / 1.388 GB, free: 98.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/2.781, allocations: 23.17 kB / 1.388 GB, free: 98.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/2.781, allocations: 4 kB / 1.388 GB, free: 98.26 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005233/2.782, allocations: 268 kB / 1.389 GB, free: 98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/2.782, allocations: 2.406 kB / 1.389 GB, free: 98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/2.782, allocations: 4 kB / 1.389 GB, free: 98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/2.782, allocations: 99.88 kB / 1.389 GB, free: 97.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/2.782, allocations: 3.953 kB / 1.389 GB, free: 97.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/2.783, allocations: 89.25 kB / 1.389 GB, free: 97.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/2.783, allocations: 19.92 kB / 1.389 GB, free: 97.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005824/2.784, allocations: 259.7 kB / 1.389 GB, free: 97.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/2.784, allocations: 67.23 kB / 1.389 GB, free: 97.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/2.785, allocations: 334.6 kB / 1.389 GB, free: 97.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/2.785, allocations: 4 kB / 1.389 GB, free: 97.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/2.785, allocations: 3.953 kB / 1.389 GB, free: 97.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/2.785, allocations: 0 / 1.389 GB, free: 97.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/2.785, allocations: 0.5075 MB / 1.39 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/2.785, allocations: 6.844 kB / 1.39 GB, free: 96.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/2.788, allocations: 445.9 kB / 1.39 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/2.788, allocations: 0 / 1.39 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/2.788, allocations: 6.875 kB / 1.39 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/2.796, allocations: 6.047 MB / 1.396 GB, free: 89.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/2.796, allocations: 32 / 1.396 GB, free: 89.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/2.797, allocations: 319.3 kB / 1.397 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/2.797, allocations: 159.7 kB / 1.397 GB, free: 89.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/2.797, allocations: 3.625 kB / 1.397 GB, free: 89.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/2.798, allocations: 77.75 kB / 1.397 GB, free: 89.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/2.798, allocations: 19.05 kB / 1.397 GB, free: 89.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/2.798, allocations: 7.984 kB / 1.397 GB, free: 89.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005549/2.799, allocations: 483 kB / 1.397 GB, free: 88.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/2.799, allocations: 3.938 kB / 1.397 GB, free: 88.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001122/2.8, allocations: 394.2 kB / 1.398 GB, free: 88.17 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007247/2.8, allocations: 473.1 kB / 1.398 GB, free: 87.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003631/2.804, allocations: 0.7609 MB / 1.399 GB, free: 87.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.804, allocations: 0 / 1.399 GB, free: 87.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/2.807, allocations: 483.7 kB / 1.399 GB, free: 86.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/2.809, allocations: 378.8 kB / 1.4 GB, free: 86.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/2.811, allocations: 1.257 MB / 1.401 GB, free: 84.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/2.811, allocations: 0.937 MB / 1.402 GB, free: 83.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004426/2.811, allocations: 100 kB / 1.402 GB, free: 83.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/2.812, allocations: 47.42 kB / 1.402 GB, free: 83.84 MB / 0.6511 GB Notification: Performance of SimCode: time 5.21e-07/2.812, allocations: 0 / 1.402 GB, free: 83.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.02233/2.834, allocations: 15.47 MB / 1.417 GB, free: 68.79 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)