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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0008299/0.0008299, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0008769/0.0008769, allocations: 172.7 kB / 15.95 MB, free: 208 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.153/1.153, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8571/0.8571, allocations: 143.2 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.000263, allocations: 11.94 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 83.42 MB / 0.5973 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.234/0.3572, allocations: 17.77 MB / 0.6146 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.3615, allocations: 4.855 MB / 0.6193 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.3618, allocations: 16.53 kB / 0.6194 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.3622, allocations: 187.9 kB / 0.6195 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009022/0.3631, allocations: 0.6149 MB / 0.6201 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3642, allocations: 0.7367 MB / 0.6209 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3653, allocations: 1.681 MB / 0.6225 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.3657, allocations: 417.4 kB / 0.6229 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.3662, allocations: 0.5354 MB / 0.6234 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.3667, allocations: 0.4962 MB / 0.6239 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.3667, allocations: 29.09 kB / 0.6239 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007141/0.3674, allocations: 0.594 MB / 0.6245 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.3675, allocations: 129.1 kB / 0.6246 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.319e-05/0.3676, allocations: 156.2 kB / 0.6248 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.3682, allocations: 0.7704 MB / 0.6255 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3682, allocations: 6.484 kB / 0.6255 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3682, allocations: 0 / 0.6255 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3682, allocations: 4 kB / 0.6256 GB, free: 30.03 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.001217/0.3694, allocations: 0.9905 MB / 0.6265 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.3695, allocations: 9.188 kB / 0.6265 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.373e-05/0.3696, allocations: 87.23 kB / 0.6266 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.37, allocations: 492.9 kB / 0.6271 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3701, allocations: 38.03 kB / 0.6271 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.3701, allocations: 48.25 kB / 0.6272 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/0.3709, allocations: 0.6378 MB / 0.6278 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3709, allocations: 0 / 0.6278 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.371, allocations: 17.59 kB / 0.6278 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.371, allocations: 13.97 kB / 0.6278 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.3718, allocations: 0.5125 MB / 0.6283 GB, free: 28.37 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.002186/0.374, allocations: 3.226 MB / 0.6315 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.3745, allocations: 356.1 kB / 0.6318 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.3749, allocations: 245.9 kB / 0.632 GB, free: 25.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.3751, allocations: 345.9 kB / 0.6324 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3752, allocations: 37.22 kB / 0.6324 GB, free: 25.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.433e-06/0.3752, allocations: 0 / 0.6324 GB, free: 25.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001622/0.3768, allocations: 0.8648 MB / 0.6333 GB, free: 24.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.3768, allocations: 61.36 kB / 0.6333 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.3773, allocations: 0.582 MB / 0.6339 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3773, allocations: 29.7 kB / 0.6339 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3774, allocations: 335.8 kB / 0.6342 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.3775, allocations: 133.5 kB / 0.6344 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.3775, allocations: 8 kB / 0.6344 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.3776, allocations: 373.1 kB / 0.6347 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.378, allocations: 218.4 kB / 0.6349 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.3784, allocations: 383.6 kB / 0.6353 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.3789, allocations: 254.6 kB / 0.6355 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3789, allocations: 0 / 0.6355 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001072/0.3799, allocations: 0.7276 MB / 0.6362 GB, free: 22.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.38, allocations: 222.9 kB / 0.6365 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.38, allocations: 8.922 kB / 0.6365 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.3805, allocations: 152.9 kB / 0.6366 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.381, allocations: 149 kB / 0.6368 GB, free: 22.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004142/0.3815, allocations: 0.6372 MB / 0.6374 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.3819, allocations: 105.1 kB / 0.6375 GB, free: 22.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.382, allocations: 30.19 kB / 0.6375 GB, free: 22.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.382, allocations: 3.688 kB / 0.6375 GB, free: 22.01 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009515/0.383, allocations: 0.6183 MB / 0.6381 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.383, allocations: 12.64 kB / 0.6381 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/0.383, allocations: 8.656 kB / 0.6381 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.3835, allocations: 162.2 kB / 0.6383 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3835, allocations: 13.17 kB / 0.6383 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.3839, allocations: 93.25 kB / 0.6384 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.3839, allocations: 32.08 kB / 0.6384 GB, free: 21.73 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.000175/0.3841, allocations: 270.8 kB / 0.6387 GB, free: 21.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.3842, allocations: 64.28 kB / 0.6387 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.3853, allocations: 0.6796 MB / 0.6394 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.3854, allocations: 5.656 kB / 0.6394 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3854, allocations: 3.047 kB / 0.6394 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3854, allocations: 0 / 0.6394 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3871, allocations: 1.393 MB / 0.6408 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3871, allocations: 0 / 0.6408 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3875, allocations: 97.77 kB / 0.6409 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.3878, allocations: 139.2 kB / 0.641 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.3878, allocations: 15.88 kB / 0.641 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/0.3882, allocations: 0.6242 MB / 0.6416 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3882, allocations: 4.062 kB / 0.6416 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.3892, allocations: 0.7336 MB / 0.6423 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.3894, allocations: 206.6 kB / 0.6425 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.3894, allocations: 10.66 kB / 0.6426 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3898, allocations: 53.78 kB / 0.6426 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3899, allocations: 34.36 kB / 0.6426 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3899, allocations: 21.14 kB / 0.6427 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003106/0.3902, allocations: 400.5 kB / 0.643 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3902, allocations: 0 / 0.643 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008146/0.391, allocations: 389.5 kB / 0.6434 GB, free: 19.03 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.0004472/0.3915, allocations: 309.8 kB / 0.6437 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.3931, allocations: 0.9053 MB / 0.6446 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3931, allocations: 4 kB / 0.6446 GB, free: 18.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/0.3936, allocations: 302 kB / 0.6449 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.3948, allocations: 263.7 kB / 0.6451 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3963, allocations: 1.313 MB / 0.6464 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3966, allocations: 0.907 MB / 0.6473 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005133/0.3971, allocations: 153 kB / 0.6474 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3972, allocations: 61.62 kB / 0.6475 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3972, allocations: 0 / 0.6475 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.01804/0.4153, allocations: 11.91 MB / 0.6591 GB, free: 15.88 MB / 0.4981 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)