Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009067/0.0009068, allocations: 92.36 kB / 16.67 MB, free: 5.859 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.001096/0.001096, allocations: 179.8 kB / 17.58 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.5 MB / 408.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 8 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3992, allocations: 77.54 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01817/0.4174, allocations: 18.73 MB / 0.5789 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007707/0.4252, allocations: 5.124 MB / 0.5839 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.4263, allocations: 16.69 kB / 0.5839 GB, free: 19.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.4272, allocations: 209.5 kB / 0.5841 GB, free: 19.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.4295, allocations: 0.7086 MB / 0.5848 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.4319, allocations: 0.7943 MB / 0.5856 GB, free: 18.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.4346, allocations: 1.933 MB / 0.5875 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007803/0.4354, allocations: 445.6 kB / 0.5879 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.4365, allocations: 0.5562 MB / 0.5884 GB, free: 17.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000819/0.4374, allocations: 0.5167 MB / 0.5889 GB, free: 16.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.056e-05/0.4375, allocations: 29.53 kB / 0.589 GB, free: 16.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.4391, allocations: 0.6581 MB / 0.5896 GB, free: 16.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.4393, allocations: 130.7 kB / 0.5897 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.4397, allocations: 383.6 kB / 0.5901 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.4408, allocations: 0.7542 MB / 0.5908 GB, free: 16.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4408, allocations: 1 kB / 0.5908 GB, free: 16.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.147e-06/0.4409, allocations: 0.6094 kB / 0.5908 GB, free: 16.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4409, allocations: 5.594 kB / 0.5908 GB, free: 16.19 MB / 446.1 MB 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.001761/0.4426, allocations: 0.9982 MB / 0.5918 GB, free: 15.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4427, allocations: 8.719 kB / 0.5918 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4428, allocations: 79.88 kB / 0.5919 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.4435, allocations: 0.5053 MB / 0.5924 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.4435, allocations: 37.72 kB / 0.5924 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.4436, allocations: 53.44 kB / 0.5925 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.4447, allocations: 0.6425 MB / 0.5931 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4447, allocations: 0.9688 kB / 0.5931 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.4448, allocations: 17.72 kB / 0.5931 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.4448, allocations: 12.25 kB / 0.5931 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.4459, allocations: 0.5166 MB / 0.5936 GB, free: 14.16 MB / 446.1 MB 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.002935/0.4488, allocations: 3.218 MB / 0.5968 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/0.4495, allocations: 355.6 kB / 0.5971 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.45, allocations: 248.2 kB / 0.5974 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/0.4503, allocations: 348.7 kB / 0.5977 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4504, allocations: 37.84 kB / 0.5977 GB, free: 10.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 2.084e-06/0.4504, allocations: 0 / 0.5977 GB, free: 10.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.002164/0.4525, allocations: 0.8627 MB / 0.5986 GB, free: 10.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.4526, allocations: 60.66 kB / 0.5986 GB, free: 9.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.4533, allocations: 0.5935 MB / 0.5992 GB, free: 9.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.4533, allocations: 32.64 kB / 0.5992 GB, free: 9.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.4535, allocations: 332.5 kB / 0.5996 GB, free: 9.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.4536, allocations: 125.7 kB / 0.5997 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.4537, allocations: 61.16 kB / 0.5997 GB, free: 9.102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.4538, allocations: 368.9 kB / 0.6001 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.4543, allocations: 233.9 kB / 0.6003 GB, free: 8.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.455, allocations: 386.6 kB / 0.6007 GB, free: 8.348 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.4561, allocations: 0.5951 MB / 0.6013 GB, free: 7.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4561, allocations: 0.9688 kB / 0.6013 GB, free: 7.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00148/0.4576, allocations: 0.7505 MB / 0.602 GB, free: 7.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4577, allocations: 225.2 kB / 0.6022 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4577, allocations: 5.156 kB / 0.6022 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/0.4584, allocations: 162.2 kB / 0.6024 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.4589, allocations: 145.2 kB / 0.6025 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004569/0.4594, allocations: 0.6198 MB / 0.6031 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.46, allocations: 111 kB / 0.6032 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.4601, allocations: 27.03 kB / 0.6032 GB, free: 6.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.4601, allocations: 3.438 kB / 0.6032 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/0.4614, allocations: 0.6293 MB / 0.6039 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4614, allocations: 4 kB / 0.6039 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.4614, allocations: 8 kB / 0.6039 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.4619, allocations: 168.3 kB / 0.604 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.462, allocations: 8 kB / 0.604 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.4625, allocations: 83.69 kB / 0.6041 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.4626, allocations: 31.98 kB / 0.6041 GB, free: 5.949 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.4628, allocations: 276.8 kB / 0.6044 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.4629, allocations: 71.14 kB / 0.6045 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.4642, allocations: 0.6689 MB / 0.6051 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4642, allocations: 4 kB / 0.6051 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4642, allocations: 0 / 0.6051 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4643, allocations: 4 kB / 0.6051 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.4663, allocations: 1.417 MB / 0.6065 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4663, allocations: 8.094 kB / 0.6065 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.4667, allocations: 87.88 kB / 0.6066 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/0.467, allocations: 124.8 kB / 0.6067 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.4671, allocations: 19.98 kB / 0.6068 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004554/0.4675, allocations: 0.6266 MB / 0.6074 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4675, allocations: 7.969 kB / 0.6074 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4686, allocations: 0.728 MB / 0.6081 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.4689, allocations: 204 kB / 0.6083 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.4689, allocations: 8 kB / 0.6083 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.4694, allocations: 59.84 kB / 0.6083 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.4695, allocations: 35.89 kB / 0.6084 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.4695, allocations: 16 kB / 0.6084 GB, free: 1.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.4699, allocations: 407.1 kB / 0.6088 GB, free: 1.031 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4699, allocations: 7.938 kB / 0.6088 GB, free: 1.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001122/0.471, allocations: 391.4 kB / 0.6092 GB, free: 0.6406 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006037/0.4716, allocations: 302.8 kB / 0.6095 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.4735, allocations: 0.9016 MB / 0.6103 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4735, allocations: 0 / 0.6103 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.4742, allocations: 312.1 kB / 0.6106 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.4758, allocations: 269.2 kB / 0.6109 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.4779, allocations: 1.364 MB / 0.6122 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.4784, allocations: 0.908 MB / 0.6131 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.4786, allocations: 67.41 kB / 0.6132 GB, free: 12.48 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4786, allocations: 0 / 0.6132 GB, free: 12.48 MB / 462.1 MB Notification: Performance of Templates: time 0.01889/0.4975, allocations: 12.93 MB / 0.6258 GB, free: 15.67 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)