Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.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.001563/0.001563, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001282/0.001282, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 60.12 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8326, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02399/0.8566, allocations: 19.44 MB / 1.227 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007465/0.8641, allocations: 5.152 MB / 1.232 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007995/0.865, allocations: 19.88 kB / 1.232 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008175/0.8659, allocations: 266 kB / 1.233 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.868, allocations: 0.7769 MB / 1.233 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.8702, allocations: 0.873 MB / 1.234 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.8723, allocations: 1.564 MB / 1.236 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00081/0.8731, allocations: 0.5091 MB / 1.236 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.8743, allocations: 0.6382 MB / 1.237 GB, free: 284 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008699/0.8752, allocations: 0.529 MB / 1.237 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.8753, allocations: 56 kB / 1.238 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.8767, allocations: 0.7018 MB / 1.238 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.8769, allocations: 163.4 kB / 1.238 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.8773, allocations: 382 kB / 1.239 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.8789, allocations: 1.092 MB / 1.24 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8789, allocations: 0 / 1.24 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8789, allocations: 4 kB / 1.24 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.7e-05/0.8789, allocations: 0 / 1.24 GB, free: 13.36 MB / 0.9669 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.002097/0.881, allocations: 1.102 MB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8811, allocations: 8.031 kB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.8813, allocations: 91.91 kB / 1.241 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.8822, allocations: 0.5187 MB / 1.241 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.8822, allocations: 37 kB / 1.242 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.8823, allocations: 48 kB / 1.242 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.8835, allocations: 0.6216 MB / 1.242 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.8836, allocations: 7.938 kB / 1.242 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.8836, allocations: 16 kB / 1.242 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.8836, allocations: 12 kB / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.8848, allocations: 495.4 kB / 1.243 GB, free: 10.26 MB / 0.9669 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.003644/0.8885, allocations: 3.189 MB / 1.246 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.8892, allocations: 346.5 kB / 1.246 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.8897, allocations: 228.7 kB / 1.246 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/0.8901, allocations: 348.4 kB / 1.247 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.8901, allocations: 42.5 kB / 1.247 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=38): time 2.114e-06/0.8901, allocations: 0 / 1.247 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=38): time 0.002174/0.8923, allocations: 0.809 MB / 1.248 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.8924, allocations: 55.41 kB / 1.248 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.8931, allocations: 0.5862 MB / 1.248 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.8931, allocations: 33.7 kB / 1.248 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.8934, allocations: 328.4 kB / 1.248 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.8935, allocations: 134 kB / 1.249 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.8937, allocations: 130.2 kB / 1.249 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8939, allocations: 370.8 kB / 1.249 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.8944, allocations: 219.4 kB / 1.249 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.895, allocations: 368 kB / 1.25 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.8961, allocations: 0.5743 MB / 1.25 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.8962, allocations: 7.938 kB / 1.25 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001523/0.8977, allocations: 0.7187 MB / 1.251 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8977, allocations: 8.094 kB / 1.251 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8977, allocations: 8 kB / 1.251 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.8983, allocations: 132.8 kB / 1.251 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.8989, allocations: 143.8 kB / 1.251 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005967/0.8995, allocations: 0.6109 MB / 1.252 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.9001, allocations: 91.19 kB / 1.252 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.9002, allocations: 28.05 kB / 1.252 GB, free: 292 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006638/0.9008, allocations: 357.4 kB / 1.252 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005986/0.9014, allocations: 369.3 kB / 1.253 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001071/0.9025, allocations: 0.5588 MB / 1.253 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.357e-06/0.9025, allocations: 0 / 1.253 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001388/0.9039, allocations: 0.6745 MB / 1.254 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.904, allocations: 5.875 kB / 1.254 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.904, allocations: 8 kB / 1.254 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.904, allocations: 4 kB / 1.254 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.9046, allocations: 156.3 kB / 1.254 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.9046, allocations: 15.94 kB / 1.254 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.9051, allocations: 67.55 kB / 1.254 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.9052, allocations: 31.94 kB / 1.254 GB, free: 13.93 MB / 0.9825 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.0001819/0.9054, allocations: 216.1 kB / 1.254 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.9055, allocations: 63.25 kB / 1.254 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.907, allocations: 0.6383 MB / 1.255 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.907, allocations: 4 kB / 1.255 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.9071, allocations: 0 / 1.255 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.9073, allocations: 204 kB / 1.255 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.9074, allocations: 4 kB / 1.255 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.9078, allocations: 31.97 kB / 1.255 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.9079, allocations: 32.27 kB / 1.255 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001579/0.9095, allocations: 0.6665 MB / 1.256 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00175/0.9113, allocations: 0.9656 MB / 1.257 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004827/0.9118, allocations: 232 kB / 1.257 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004604/0.9122, allocations: 407.1 kB / 1.257 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Backend: time 3.6e-07/0.9122, allocations: 0 / 1.257 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002484/0.9147, allocations: 0.9225 MB / 1.258 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002288/0.917, allocations: 1.611 MB / 1.26 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of Templates: time 0.02554/0.9426, allocations: 14.83 MB / 1.274 GB, free: 9.191 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)