Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7773/0.7773, allocations: 127.3 MB / 139.8 MB, free: 15.47 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.001181/0.001181, allocations: 180.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0009812/0.0009811, allocations: 90.11 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.435e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.344, allocations: 356.8 MB / 0.9766 GB, free: 177.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.344, allocations: 95.94 kB / 0.9767 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9286/2.273, allocations: 232.9 MB / 1.204 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/2.273, allocations: 0 / 1.204 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.204e-05/2.273, allocations: 22.75 kB / 1.204 GB, free: 159.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002224/2.275, allocations: 0.9472 MB / 1.205 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/2.275, allocations: 10.47 kB / 1.205 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/2.277, allocations: 253 kB / 1.205 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/2.279, allocations: 0.4997 MB / 1.206 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/2.279, allocations: 41.38 kB / 1.206 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/2.279, allocations: 48.41 kB / 1.206 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006161/2.285, allocations: 0.9902 MB / 1.207 GB, free: 158 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/2.285, allocations: 3.625 kB / 1.207 GB, free: 158 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/2.285, allocations: 19.34 kB / 1.207 GB, free: 158 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/2.285, allocations: 11.62 kB / 1.207 GB, free: 158 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/2.291, allocations: 0.8218 MB / 1.208 GB, free: 157.8 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.005825/2.297, allocations: 3.242 MB / 1.211 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/2.303, allocations: 0.6783 MB / 1.212 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/2.303, allocations: 184.6 kB / 1.212 GB, free: 155 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/2.304, allocations: 348.6 kB / 1.212 GB, free: 154.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/2.304, allocations: 38.27 kB / 1.212 GB, free: 154.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 4.108e-06/2.304, allocations: 0 / 1.212 GB, free: 154.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.01065/2.314, allocations: 1.201 MB / 1.213 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/2.314, allocations: 56.69 kB / 1.213 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/2.315, allocations: 0.4942 MB / 1.214 GB, free: 154 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/2.315, allocations: 33.55 kB / 1.214 GB, free: 154 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/2.316, allocations: 331.6 kB / 1.214 GB, free: 153.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/2.316, allocations: 134.7 kB / 1.214 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/2.316, allocations: 15.88 kB / 1.214 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001397/2.316, allocations: 372.1 kB / 1.215 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007628/2.317, allocations: 244 kB / 1.215 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/2.318, allocations: 428.4 kB / 1.215 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008001/2.319, allocations: 264.5 kB / 1.216 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/2.319, allocations: 3.875 kB / 1.216 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002389/2.321, allocations: 0.7816 MB / 1.216 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003783/2.322, allocations: 1.749 MB / 1.218 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/2.322, allocations: 3.844 kB / 1.218 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/2.322, allocations: 176.2 kB / 1.218 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/2.324, allocations: 223.7 kB / 1.218 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/2.327, allocations: 0.7439 MB / 1.219 GB, free: 150 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/2.329, allocations: 185 kB / 1.219 GB, free: 150 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/2.329, allocations: 42 kB / 1.219 GB, free: 150 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/2.329, allocations: 7.875 kB / 1.219 GB, free: 150 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/2.331, allocations: 0.6676 MB / 1.22 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/2.331, allocations: 3.906 kB / 1.22 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/2.331, allocations: 7.75 kB / 1.22 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/2.333, allocations: 252.2 kB / 1.22 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/2.333, allocations: 10.38 kB / 1.22 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/2.335, allocations: 159.7 kB / 1.22 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/2.336, allocations: 34.31 kB / 1.22 GB, free: 149.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003187/2.336, allocations: 148.9 kB / 1.221 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/2.336, allocations: 68.95 kB / 1.221 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/2.339, allocations: 0.6877 MB / 1.221 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/2.339, allocations: 7.156 kB / 1.221 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/2.339, allocations: 0 / 1.221 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/2.339, allocations: 3.891 kB / 1.221 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/2.347, allocations: 1.835 MB / 1.223 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/2.347, allocations: 0 / 1.223 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/2.348, allocations: 155.4 kB / 1.223 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006332/2.349, allocations: 166.7 kB / 1.223 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/2.349, allocations: 18.23 kB / 1.223 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/2.351, allocations: 0.7502 MB / 1.224 GB, free: 147.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.351, allocations: 0 / 1.224 GB, free: 147.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004996/2.357, allocations: 1.007 MB / 1.225 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/2.357, allocations: 213.4 kB / 1.225 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/2.358, allocations: 11.45 kB / 1.225 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/2.359, allocations: 133.2 kB / 1.226 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/2.359, allocations: 30.94 kB / 1.226 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/2.36, allocations: 22.67 kB / 1.226 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000708/2.36, allocations: 400.8 kB / 1.226 GB, free: 147 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/2.36, allocations: 6.719 kB / 1.226 GB, free: 147 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002028/2.362, allocations: 393 kB / 1.226 GB, free: 147 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008486/2.363, allocations: 353.5 kB / 1.227 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00346/2.367, allocations: 1.081 MB / 1.228 GB, free: 146.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.367, allocations: 0 / 1.228 GB, free: 146.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/2.368, allocations: 371.7 kB / 1.228 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/2.37, allocations: 251.8 kB / 1.228 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/2.371, allocations: 0.8083 MB / 1.229 GB, free: 145.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/2.372, allocations: 0.9082 MB / 1.23 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001002/2.373, allocations: 197.8 kB / 1.23 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/2.373, allocations: 59.94 kB / 1.23 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.573e-06/2.373, allocations: 0 / 1.23 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.02398/2.397, allocations: 16.82 MB / 1.247 GB, free: 141.9 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)