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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 98.44 kB / 15.05 MB, free: 1.105 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.001218/0.001218, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 11.98 kB / 0.5158 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1812, allocations: 83.41 MB / 0.5973 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.3288/0.5101, allocations: 16.3 MB / 0.6132 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006993/0.5171, allocations: 4.471 MB / 0.6176 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.5182, allocations: 13.59 kB / 0.6176 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009497/0.5191, allocations: 251 kB / 0.6178 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.5217, allocations: 0.8161 MB / 0.6186 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.5241, allocations: 0.9319 MB / 0.6195 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.5256, allocations: 0.951 MB / 0.6205 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005342/0.5262, allocations: 417.5 kB / 0.6209 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.527, allocations: 0.5115 MB / 0.6214 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.5275, allocations: 400.4 kB / 0.6217 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.5276, allocations: 29.09 kB / 0.6218 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.529, allocations: 0.6318 MB / 0.6224 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.5291, allocations: 133.8 kB / 0.6225 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.5293, allocations: 155.8 kB / 0.6227 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008723/0.5302, allocations: 0.777 MB / 0.6234 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5302, allocations: 0 / 0.6234 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5302, allocations: 0 / 0.6234 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.5302, allocations: 0 / 0.6234 GB, free: 30.99 MB / 0.4981 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.001792/0.532, allocations: 1.003 MB / 0.6244 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5321, allocations: 7.688 kB / 0.6244 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.5322, allocations: 80.41 kB / 0.6245 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.5329, allocations: 494.7 kB / 0.6249 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.5329, allocations: 39.38 kB / 0.625 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.533, allocations: 46.59 kB / 0.625 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009355/0.5339, allocations: 0.6297 MB / 0.6256 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.534, allocations: 11.88 kB / 0.6257 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.534, allocations: 17.84 kB / 0.6257 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.534, allocations: 14.95 kB / 0.6257 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009663/0.535, allocations: 0.5117 MB / 0.6262 GB, free: 29.32 MB / 0.4981 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.002923/0.5379, allocations: 3.212 MB / 0.6293 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.5386, allocations: 355.3 kB / 0.6297 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.539, allocations: 349.4 kB / 0.63 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.539, allocations: 34.75 kB / 0.63 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.795e-06/0.539, allocations: 0.75 kB / 0.63 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.002056/0.5411, allocations: 0.8669 MB / 0.6309 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.5411, allocations: 56.66 kB / 0.6309 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.5417, allocations: 0.5805 MB / 0.6315 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.5417, allocations: 36.89 kB / 0.6315 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.5419, allocations: 326.7 kB / 0.6318 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.542, allocations: 135.9 kB / 0.632 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.542, allocations: 10.94 kB / 0.632 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.5421, allocations: 376.4 kB / 0.6323 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.5426, allocations: 216.3 kB / 0.6326 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.5431, allocations: 379.5 kB / 0.6329 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.5436, allocations: 262.6 kB / 0.6332 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5436, allocations: 4 kB / 0.6332 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001321/0.545, allocations: 0.7255 MB / 0.6339 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.5453, allocations: 1.742 MB / 0.6356 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5453, allocations: 2.688 kB / 0.6356 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/0.546, allocations: 149.4 kB / 0.6357 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.5466, allocations: 157.2 kB / 0.6359 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005334/0.5472, allocations: 0.6312 MB / 0.6365 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.5479, allocations: 108.9 kB / 0.6366 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.5479, allocations: 30.31 kB / 0.6366 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.5479, allocations: 3.312 kB / 0.6366 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/0.5491, allocations: 0.6209 MB / 0.6372 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5491, allocations: 5.375 kB / 0.6372 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.5491, allocations: 12.28 kB / 0.6372 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.5497, allocations: 164 kB / 0.6374 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.5497, allocations: 9.344 kB / 0.6374 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.5503, allocations: 95.45 kB / 0.6375 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.5503, allocations: 30.84 kB / 0.6375 GB, free: 21.18 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0003439/0.5507, allocations: 267.2 kB / 0.6378 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.5508, allocations: 72.06 kB / 0.6379 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.5523, allocations: 0.6775 MB / 0.6385 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5523, allocations: 6.609 kB / 0.6385 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5523, allocations: 2.625 kB / 0.6385 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5524, allocations: 7.141 kB / 0.6385 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.5547, allocations: 1.398 MB / 0.6399 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5547, allocations: 6.156 kB / 0.6399 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.5551, allocations: 87.69 kB / 0.64 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/0.5555, allocations: 132.4 kB / 0.6401 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.5555, allocations: 9.5 kB / 0.6401 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005033/0.556, allocations: 0.6322 MB / 0.6407 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5561, allocations: 3.953 kB / 0.6407 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.5573, allocations: 0.7685 MB / 0.6415 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.5576, allocations: 207.8 kB / 0.6417 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.5577, allocations: 6.625 kB / 0.6417 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.5582, allocations: 57.14 kB / 0.6418 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.5582, allocations: 37.19 kB / 0.6418 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.5583, allocations: 17.08 kB / 0.6418 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003957/0.5587, allocations: 400.5 kB / 0.6422 GB, free: 18.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5587, allocations: 0 / 0.6422 GB, free: 18.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001166/0.5599, allocations: 394.1 kB / 0.6426 GB, free: 18.42 MB / 0.4981 GB 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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006606/0.5605, allocations: 300.1 kB / 0.6429 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.5626, allocations: 0.912 MB / 0.6437 GB, free: 18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5626, allocations: 0 / 0.6437 GB, free: 18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.5633, allocations: 300.2 kB / 0.644 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5647, allocations: 266.9 kB / 0.6443 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.5665, allocations: 1.297 MB / 0.6455 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5669, allocations: 0.9258 MB / 0.6465 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006193/0.5676, allocations: 153.5 kB / 0.6466 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.5678, allocations: 62.05 kB / 0.6467 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.5678, allocations: 0 / 0.6467 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.02753/0.5953, allocations: 11.9 MB / 0.6583 GB, free: 15.27 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: