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.0009337/0.0009338, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008331/0.0008333, allocations: 180.1 kB / 16.92 MB, free: 6.906 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.312 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 1.008/1.008, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003598, allocations: 8 kB / 0.5171 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 83.4 MB / 0.5985 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.3549/0.5338, allocations: 18.76 MB / 0.6168 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006891/0.5407, allocations: 5.114 MB / 0.6218 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000926/0.5417, allocations: 16.59 kB / 0.6218 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.5424, allocations: 215.2 kB / 0.622 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.5444, allocations: 0.7108 MB / 0.6227 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.5464, allocations: 0.7945 MB / 0.6235 GB, free: 30 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.5483, allocations: 1.935 MB / 0.6254 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.549, allocations: 436 kB / 0.6258 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008984/0.5499, allocations: 0.5693 MB / 0.6264 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.5504, allocations: 0.51 MB / 0.6269 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.5505, allocations: 33.62 kB / 0.6269 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5516, allocations: 0.6606 MB / 0.6275 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.5518, allocations: 136.2 kB / 0.6277 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.5521, allocations: 376 kB / 0.628 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007706/0.5529, allocations: 0.7897 MB / 0.6288 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5529, allocations: 0 / 0.6288 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5529, allocations: 0 / 0.6288 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.5529, allocations: 0 / 0.6288 GB, free: 28.36 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.001535/0.5545, allocations: 0.9937 MB / 0.6298 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5545, allocations: 9 kB / 0.6298 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.5546, allocations: 81 kB / 0.6299 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.5552, allocations: 0.5027 MB / 0.6303 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.5553, allocations: 43.28 kB / 0.6304 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.5553, allocations: 46.56 kB / 0.6304 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.5563, allocations: 0.6449 MB / 0.6311 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5563, allocations: 4 kB / 0.6311 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.5564, allocations: 18 kB / 0.6311 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5564, allocations: 12.81 kB / 0.6311 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.5573, allocations: 0.5124 MB / 0.6316 GB, free: 26.67 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.00276/0.5601, allocations: 3.23 MB / 0.6348 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.5607, allocations: 356.1 kB / 0.6351 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.5612, allocations: 241.1 kB / 0.6353 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.5615, allocations: 358.2 kB / 0.6357 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.5615, allocations: 37.56 kB / 0.6357 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.735e-06/0.5615, allocations: 0 / 0.6357 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001977/0.5635, allocations: 0.8614 MB / 0.6365 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.5635, allocations: 61.97 kB / 0.6366 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.5641, allocations: 0.5866 MB / 0.6372 GB, free: 22.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.5641, allocations: 29.7 kB / 0.6372 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.5643, allocations: 334 kB / 0.6375 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.5644, allocations: 130.4 kB / 0.6376 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.5645, allocations: 60.34 kB / 0.6377 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.5646, allocations: 372.6 kB / 0.6381 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.565, allocations: 225.8 kB / 0.6383 GB, free: 21.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.5655, allocations: 379.8 kB / 0.6386 GB, free: 21.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009408/0.5665, allocations: 0.6013 MB / 0.6392 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5665, allocations: 6.469 kB / 0.6392 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001352/0.5679, allocations: 0.7421 MB / 0.64 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/0.568, allocations: 229.2 kB / 0.6402 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.568, allocations: 2.531 kB / 0.6402 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.5686, allocations: 160.1 kB / 0.6403 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.5691, allocations: 145.7 kB / 0.6405 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004414/0.5696, allocations: 0.6171 MB / 0.6411 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.5702, allocations: 113.6 kB / 0.6412 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.5703, allocations: 30.78 kB / 0.6412 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.5703, allocations: 2.75 kB / 0.6412 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.5714, allocations: 0.6279 MB / 0.6418 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5714, allocations: 4.969 kB / 0.6418 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/0.5714, allocations: 6 kB / 0.6418 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.572, allocations: 167.4 kB / 0.642 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.572, allocations: 11.55 kB / 0.642 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.5725, allocations: 89.02 kB / 0.6421 GB, free: 19.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.5726, allocations: 29.42 kB / 0.6421 GB, free: 19.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 (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.0002762/0.5728, allocations: 276.5 kB / 0.6424 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.5729, allocations: 64.19 kB / 0.6424 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.5743, allocations: 0.6836 MB / 0.6431 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.5743, allocations: 5.25 kB / 0.6431 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5743, allocations: 0 / 0.6431 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5743, allocations: 3.328 kB / 0.6431 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.5765, allocations: 1.405 MB / 0.6445 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5765, allocations: 2.781 kB / 0.6445 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.5768, allocations: 92.08 kB / 0.6446 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/0.5773, allocations: 130.3 kB / 0.6447 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.5773, allocations: 15.27 kB / 0.6447 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004764/0.5778, allocations: 0.6275 MB / 0.6453 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5778, allocations: 7.875 kB / 0.6453 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.579, allocations: 0.7389 MB / 0.6461 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.5792, allocations: 199.6 kB / 0.6462 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.5793, allocations: 17.47 kB / 0.6463 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.5798, allocations: 56.78 kB / 0.6463 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.5799, allocations: 28.17 kB / 0.6463 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.5799, allocations: 20.45 kB / 0.6464 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004507/0.5804, allocations: 399 kB / 0.6467 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5804, allocations: 0 / 0.6467 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00126/0.5817, allocations: 393.6 kB / 0.6471 GB, free: 17.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 (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.0007843/0.5825, allocations: 307 kB / 0.6474 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.5847, allocations: 0.9092 MB / 0.6483 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5847, allocations: 1 kB / 0.6483 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.5854, allocations: 293.7 kB / 0.6486 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.5872, allocations: 281.7 kB / 0.6489 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.5894, allocations: 1.37 MB / 0.6502 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.5898, allocations: 0.9082 MB / 0.6511 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.5901, allocations: 73.08 kB / 0.6511 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 6.32e-07/0.5901, allocations: 0 / 0.6511 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.02688/0.617, allocations: 13.09 MB / 0.6639 GB, free: 13.53 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)