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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(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.001089/0.001089, allocations: 107.7 kB / 16.41 MB, free: 6.52 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.001104/0.001104, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.479/1.479, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8317/0.833, allocations: 159.9 MB / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02159/0.8547, allocations: 19.45 MB / 1.245 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007305/0.862, allocations: 5.156 MB / 1.25 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009046/0.863, allocations: 15.88 kB / 1.25 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008172/0.8638, allocations: 274 kB / 1.251 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.8659, allocations: 0.8027 MB / 1.251 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.8683, allocations: 0.8784 MB / 1.252 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002275/0.8706, allocations: 1.556 MB / 1.254 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.8716, allocations: 0.5055 MB / 1.254 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.8729, allocations: 0.6382 MB / 1.255 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009804/0.8739, allocations: 0.5406 MB / 1.255 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.8741, allocations: 56 kB / 1.256 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.8756, allocations: 0.7018 MB / 1.256 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.8759, allocations: 159.4 kB / 1.256 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.8764, allocations: 382 kB / 1.257 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.8781, allocations: 1.102 MB / 1.258 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8781, allocations: 4 kB / 1.258 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8781, allocations: 0 / 1.258 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.8782, allocations: 0 / 1.258 GB, free: 13.34 MB / 0.9825 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.002169/0.8804, allocations: 1.128 MB / 1.259 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8804, allocations: 12.03 kB / 1.259 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.8806, allocations: 84.42 kB / 1.259 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.8815, allocations: 0.527 MB / 1.26 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.8816, allocations: 37 kB / 1.26 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.8816, allocations: 48 kB / 1.26 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.8827, allocations: 0.6216 MB / 1.26 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.8828, allocations: 0 / 1.26 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.8828, allocations: 24 kB / 1.26 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8829, allocations: 12 kB / 1.26 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.8839, allocations: 495.4 kB / 1.261 GB, free: 10.21 MB / 0.9825 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.003592/0.8875, allocations: 3.209 MB / 1.264 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.8883, allocations: 353.6 kB / 1.264 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.8888, allocations: 224.8 kB / 1.264 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.8891, allocations: 348.4 kB / 1.265 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.8892, allocations: 38.56 kB / 1.265 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=38): time 3.797e-06/0.8892, allocations: 3.984 kB / 1.265 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002221/0.8914, allocations: 0.8106 MB / 1.266 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.8915, allocations: 59.39 kB / 1.266 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007604/0.8922, allocations: 0.5823 MB / 1.266 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.8923, allocations: 33.7 kB / 1.266 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.8926, allocations: 329 kB / 1.267 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.8927, allocations: 142.8 kB / 1.267 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.8929, allocations: 130.2 kB / 1.267 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8931, allocations: 374.8 kB / 1.267 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.8936, allocations: 219.3 kB / 1.267 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006116/0.8942, allocations: 368 kB / 1.268 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.8953, allocations: 0.5666 MB / 1.268 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8953, allocations: 3.938 kB / 1.268 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001553/0.8969, allocations: 0.727 MB / 1.269 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8969, allocations: 9.094 kB / 1.269 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8969, allocations: 4 kB / 1.269 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.8976, allocations: 132.7 kB / 1.269 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.8981, allocations: 139.9 kB / 1.269 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006189/0.8987, allocations: 0.6187 MB / 1.27 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.8994, allocations: 83.45 kB / 1.27 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.919e-05/0.8994, allocations: 31.98 kB / 1.27 GB, free: 208 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007048/0.9002, allocations: 357.3 kB / 1.27 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000618/0.9008, allocations: 368 kB / 1.271 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001088/0.9019, allocations: 0.5587 MB / 1.271 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.9019, allocations: 0 / 1.271 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001438/0.9033, allocations: 0.6751 MB / 1.272 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9034, allocations: 8 kB / 1.272 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9034, allocations: 7.984 kB / 1.272 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.9034, allocations: 8 kB / 1.272 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/0.9043, allocations: 164.2 kB / 1.272 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.9043, allocations: 15.97 kB / 1.272 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.9052, allocations: 63.64 kB / 1.272 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.9053, allocations: 39.92 kB / 1.272 GB, free: 13.82 MB / 0.9981 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.0002754/0.9056, allocations: 212.1 kB / 1.272 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.9058, allocations: 63.58 kB / 1.272 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.9082, allocations: 0.647 MB / 1.273 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.9083, allocations: 3.984 kB / 1.273 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.9083, allocations: 0 / 1.273 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.9087, allocations: 200.4 kB / 1.273 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.9089, allocations: 12 kB / 1.273 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.9095, allocations: 31.95 kB / 1.273 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.9097, allocations: 32.33 kB / 1.273 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00239/0.9121, allocations: 0.6587 MB / 1.274 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002769/0.9149, allocations: 0.97 MB / 1.275 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007499/0.9156, allocations: 228.1 kB / 1.275 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007923/0.9164, allocations: 403.1 kB / 1.275 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of Backend: time 8.02e-07/0.9164, allocations: 0 / 1.275 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004013/0.9205, allocations: 0.9423 MB / 1.276 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003376/0.9239, allocations: 1.613 MB / 1.278 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.03713/0.961, allocations: 14.42 MB / 1.292 GB, free: 9.469 MB / 1.014 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)