Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001789/0.001789, allocations: 120 kB / 16.81 MB, free: 5.754 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.002016/0.002016, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.596/1.596, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 59.95 kB / 1.097 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4113, allocations: 168.7 MB / 1.262 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.024/0.4353, allocations: 19.57 MB / 1.281 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008784/0.4441, allocations: 5.155 MB / 1.286 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008958/0.445, allocations: 23.81 kB / 1.286 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008743/0.4459, allocations: 278 kB / 1.286 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.4482, allocations: 0.8112 MB / 1.287 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.4508, allocations: 0.8842 MB / 1.288 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.4534, allocations: 1.56 MB / 1.29 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.4541, allocations: 461.6 kB / 1.29 GB, free: 224 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.4556, allocations: 0.6343 MB / 1.291 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009305/0.4565, allocations: 0.5485 MB / 1.291 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.4566, allocations: 60 kB / 1.291 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.4581, allocations: 0.7018 MB / 1.292 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.4584, allocations: 171.2 kB / 1.292 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.4588, allocations: 381.9 kB / 1.293 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.4604, allocations: 1.097 MB / 1.294 GB, free: 12.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4604, allocations: 0 / 1.294 GB, free: 12.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4604, allocations: 0 / 1.294 GB, free: 12.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.4604, allocations: 0 / 1.294 GB, free: 12.62 MB / 1.014 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.002249/0.4627, allocations: 1.132 MB / 1.295 GB, free: 11.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.4627, allocations: 11.97 kB / 1.295 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.463, allocations: 88.42 kB / 1.295 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.464, allocations: 0.5231 MB / 1.295 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.464, allocations: 41 kB / 1.295 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4641, allocations: 48 kB / 1.295 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.4654, allocations: 0.6216 MB / 1.296 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4654, allocations: 4 kB / 1.296 GB, free: 10 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/0.4655, allocations: 24 kB / 1.296 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4655, allocations: 15.94 kB / 1.296 GB, free: 9.965 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4666, allocations: 491.4 kB / 1.297 GB, free: 9.484 MB / 1.014 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.003969/0.4706, allocations: 3.19 MB / 1.3 GB, free: 6.105 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/0.4714, allocations: 322.5 kB / 1.3 GB, free: 5.781 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.4719, allocations: 208.7 kB / 1.3 GB, free: 5.574 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.4723, allocations: 348.4 kB / 1.3 GB, free: 5.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.4723, allocations: 46.55 kB / 1.301 GB, free: 5.105 MB / 1.014 GB Notification: Performance of pre-optimization done (n=38): time 2.965e-06/0.4723, allocations: 0 / 1.301 GB, free: 5.105 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002451/0.4748, allocations: 0.8007 MB / 1.301 GB, free: 4.277 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4748, allocations: 55.41 kB / 1.301 GB, free: 4.211 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.4756, allocations: 0.5901 MB / 1.302 GB, free: 3.609 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.4757, allocations: 33.7 kB / 1.302 GB, free: 3.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.476, allocations: 337 kB / 1.302 GB, free: 3.234 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.4762, allocations: 142.7 kB / 1.302 GB, free: 3.094 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.4764, allocations: 134.2 kB / 1.303 GB, free: 2.957 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4766, allocations: 370.8 kB / 1.303 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.4772, allocations: 227.3 kB / 1.303 GB, free: 2.363 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/0.4778, allocations: 364 kB / 1.303 GB, free: 1.941 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.4795, allocations: 0.5704 MB / 1.304 GB, free: 1.312 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.4795, allocations: 3.938 kB / 1.304 GB, free: 1.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001851/0.4814, allocations: 0.7226 MB / 1.305 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4814, allocations: 8 kB / 1.305 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4814, allocations: 4 kB / 1.305 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007471/0.4822, allocations: 133.3 kB / 1.305 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.4827, allocations: 135.8 kB / 1.305 GB, free: 308 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007393/0.4835, allocations: 0.6226 MB / 1.306 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.4841, allocations: 87.52 kB / 1.306 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/0.4842, allocations: 27.98 kB / 1.306 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007619/0.485, allocations: 349.3 kB / 1.306 GB, free: 15.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007131/0.4857, allocations: 371.9 kB / 1.306 GB, free: 14.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001281/0.4869, allocations: 0.5588 MB / 1.307 GB, free: 14.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.487, allocations: 0 / 1.307 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001616/0.4886, allocations: 0.6831 MB / 1.308 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4886, allocations: 12.09 kB / 1.308 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4886, allocations: 4 kB / 1.308 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4886, allocations: 8 kB / 1.308 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.4893, allocations: 147.8 kB / 1.308 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4893, allocations: 11.94 kB / 1.308 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/0.4899, allocations: 67.69 kB / 1.308 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.4899, allocations: 39.92 kB / 1.308 GB, free: 13.18 MB / 1.029 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.00023/0.4902, allocations: 220 kB / 1.308 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.4903, allocations: 63.58 kB / 1.308 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.4919, allocations: 0.6356 MB / 1.309 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4919, allocations: 7.969 kB / 1.309 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4919, allocations: 0 / 1.309 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.4923, allocations: 204.4 kB / 1.309 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.4923, allocations: 8 kB / 1.309 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.4928, allocations: 31.95 kB / 1.309 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.4929, allocations: 24.34 kB / 1.309 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001671/0.4945, allocations: 0.6665 MB / 1.31 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001952/0.4965, allocations: 0.97 MB / 1.311 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005335/0.497, allocations: 213.2 kB / 1.311 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005218/0.4975, allocations: 403.1 kB / 1.311 GB, free: 9.699 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.4975, allocations: 4 kB / 1.311 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002801/0.5003, allocations: 0.8819 MB / 1.312 GB, free: 8.816 MB / 1.029 GB Notification: Performance of SimCode: time 0.002687/0.503, allocations: 1.625 MB / 1.314 GB, free: 7.148 MB / 1.029 GB Notification: Performance of Templates: time 0.02811/0.5311, allocations: 14.79 MB / 1.328 GB, free: 8.504 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)