Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.733/0.733, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 187.6 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 86.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001624/0.001624, allocations: 272.8 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7128/1.048, allocations: 368 MB / 1.099 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.049, allocations: 101.3 kB / 1.099 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.266/2.314, allocations: 408 MB / 1.497 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.974e-06/2.314, allocations: 1.781 kB / 1.497 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.625e-05/2.314, allocations: 18.97 kB / 1.497 GB, free: 144.9 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001806/2.316, allocations: 1.178 MB / 1.499 GB, free: 144.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/2.316, allocations: 7.688 kB / 1.499 GB, free: 144.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/2.316, allocations: 101 kB / 1.499 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/2.317, allocations: 0.6032 MB / 1.499 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/2.317, allocations: 43.59 kB / 1.499 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/2.317, allocations: 58 kB / 1.499 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/2.318, allocations: 413.4 kB / 1.5 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/2.318, allocations: 3.938 kB / 1.5 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/2.318, allocations: 17.34 kB / 1.5 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/2.318, allocations: 11.38 kB / 1.5 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/2.318, allocations: 298.1 kB / 1.5 GB, free: 143.8 MB / 0.6667 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.002201/2.321, allocations: 1.858 MB / 1.502 GB, free: 143 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/2.321, allocations: 167.3 kB / 1.502 GB, free: 143 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/2.321, allocations: 91.59 kB / 1.502 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/2.321, allocations: 335.4 kB / 1.502 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/2.321, allocations: 38.25 kB / 1.502 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/2.321, allocations: 0 / 1.502 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.0006164/2.322, allocations: 323.8 kB / 1.503 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/2.322, allocations: 51.41 kB / 1.503 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/2.323, allocations: 0.6704 MB / 1.503 GB, free: 142.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/2.323, allocations: 34.73 kB / 1.504 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/2.323, allocations: 371.5 kB / 1.504 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/2.323, allocations: 63.62 kB / 1.504 GB, free: 142 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/2.323, allocations: 7.156 kB / 1.504 GB, free: 142 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/2.323, allocations: 376.4 kB / 1.504 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/2.323, allocations: 102.8 kB / 1.504 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/2.323, allocations: 228.5 kB / 1.505 GB, free: 141.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/2.324, allocations: 228.9 kB / 1.505 GB, free: 141.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/2.324, allocations: 0 / 1.505 GB, free: 141.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005599/2.324, allocations: 398.7 kB / 1.505 GB, free: 141.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/2.324, allocations: 119.2 kB / 1.505 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/2.324, allocations: 2.906 kB / 1.505 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/2.324, allocations: 3.75 kB / 1.505 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/2.325, allocations: 165.3 kB / 1.505 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008463/2.326, allocations: 2.359 MB / 1.508 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/2.327, allocations: 95.92 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/2.327, allocations: 13.5 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/2.327, allocations: 5.906 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004796/2.327, allocations: 296.2 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/2.327, allocations: 0 / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/2.327, allocations: 3.969 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/2.328, allocations: 98.41 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/2.328, allocations: 14.41 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/2.328, allocations: 87.28 kB / 1.508 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/2.328, allocations: 17.94 kB / 1.508 GB, free: 139 MB / 0.6667 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 (45): * Single equations (assignments): 41 * 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.0002692/2.329, allocations: 266.9 kB / 1.509 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/2.329, allocations: 66.41 kB / 1.509 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/2.329, allocations: 324.3 kB / 1.509 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/2.329, allocations: 3.75 kB / 1.509 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/2.329, allocations: 0 / 1.509 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/2.329, allocations: 0 / 1.509 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/2.33, allocations: 0.8926 MB / 1.51 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/2.33, allocations: 3.188 kB / 1.51 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/2.331, allocations: 70.91 kB / 1.51 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/2.331, allocations: 0 / 1.51 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/2.331, allocations: 14.66 kB / 1.51 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006019/2.331, allocations: 2.356 MB / 1.512 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.331, allocations: 4.844 kB / 1.512 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/2.332, allocations: 398.3 kB / 1.513 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/2.332, allocations: 174.3 kB / 1.513 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/2.332, allocations: 3.656 kB / 1.513 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/2.332, allocations: 56.84 kB / 1.513 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/2.332, allocations: 21.09 kB / 1.513 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/2.332, allocations: 14.62 kB / 1.513 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004119/2.333, allocations: 461.8 kB / 1.513 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/2.333, allocations: 0 / 1.513 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009239/2.334, allocations: 380 kB / 1.514 GB, free: 135.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007019/2.335, allocations: 490.5 kB / 1.514 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001436/2.336, allocations: 0.5007 MB / 1.515 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/2.336, allocations: 0 / 1.515 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/2.336, allocations: 147.9 kB / 1.515 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/2.338, allocations: 372.2 kB / 1.515 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/2.34, allocations: 1.321 MB / 1.516 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/2.34, allocations: 0.929 MB / 1.517 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005049/2.341, allocations: 116.6 kB / 1.517 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/2.341, allocations: 48.67 kB / 1.518 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.663e-06/2.341, allocations: 0 / 1.518 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.02269/2.364, allocations: 15.24 MB / 1.532 GB, free: 127.6 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)