Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001284/0.001285, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001314/0.001314, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.54/1.54, 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 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9969/0.9984, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02292/1.021, allocations: 19.44 MB / 1.108 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008883/1.03, allocations: 5.147 MB / 1.113 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/1.031, allocations: 22.53 kB / 1.113 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009077/1.032, allocations: 267.3 kB / 1.113 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/1.035, allocations: 0.8151 MB / 1.114 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003042/1.038, allocations: 0.8819 MB / 1.115 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00253/1.04, allocations: 1.546 MB / 1.116 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007994/1.041, allocations: 0.5176 MB / 1.117 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/1.042, allocations: 0.6419 MB / 1.117 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/1.043, allocations: 0.5284 MB / 1.118 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/1.043, allocations: 55.19 kB / 1.118 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/1.045, allocations: 0.6958 MB / 1.118 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/1.045, allocations: 164 kB / 1.119 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004025/1.045, allocations: 381.4 kB / 1.119 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/1.047, allocations: 1.096 MB / 1.12 GB, free: 396 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.047, allocations: 0 / 1.12 GB, free: 396 kB / 0.8731 GB Notification: Performance of FrontEnd: time 2.034e-06/1.047, allocations: 1.188 kB / 1.12 GB, free: 396 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.047, allocations: 0 / 1.12 GB, free: 396 kB / 0.8731 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.00203/1.049, allocations: 1.102 MB / 1.121 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/1.049, allocations: 8.094 kB / 1.121 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/1.05, allocations: 84.03 kB / 1.121 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/1.05, allocations: 0.5243 MB / 1.122 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/1.05, allocations: 42.28 kB / 1.122 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/1.051, allocations: 47.53 kB / 1.122 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.052, allocations: 0.6269 MB / 1.122 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.052, allocations: 2.781 kB / 1.122 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/1.052, allocations: 21.34 kB / 1.122 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/1.052, allocations: 12.16 kB / 1.122 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.053, allocations: 494.4 kB / 1.123 GB, free: 14.62 MB / 0.8887 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.003794/1.057, allocations: 3.188 MB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/1.058, allocations: 346.9 kB / 1.126 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/1.058, allocations: 226 kB / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/1.058, allocations: 356 kB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.059, allocations: 37.19 kB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.174e-06/1.059, allocations: 0 / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.002243/1.061, allocations: 0.8057 MB / 1.128 GB, free: 11 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/1.061, allocations: 59.5 kB / 1.128 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/1.062, allocations: 0.5861 MB / 1.128 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/1.062, allocations: 35.77 kB / 1.128 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/1.062, allocations: 328.1 kB / 1.129 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/1.062, allocations: 139.3 kB / 1.129 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/1.062, allocations: 129.1 kB / 1.129 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.062, allocations: 372.7 kB / 1.129 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/1.063, allocations: 216.8 kB / 1.13 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/1.064, allocations: 367.8 kB / 1.13 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.065, allocations: 0.5774 MB / 1.13 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.065, allocations: 5.438 kB / 1.13 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001587/1.066, allocations: 0.7191 MB / 1.131 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.066, allocations: 7.875 kB / 1.131 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.066, allocations: 5.094 kB / 1.131 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/1.067, allocations: 136.5 kB / 1.131 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/1.068, allocations: 139.7 kB / 1.131 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005849/1.068, allocations: 0.6173 MB / 1.132 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/1.069, allocations: 81.83 kB / 1.132 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/1.069, allocations: 29.97 kB / 1.132 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006979/1.07, allocations: 356.1 kB / 1.132 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006607/1.07, allocations: 365.7 kB / 1.133 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001115/1.071, allocations: 0.5573 MB / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/1.071, allocations: 2.594 kB / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001507/1.073, allocations: 0.6754 MB / 1.134 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.073, allocations: 6.906 kB / 1.134 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.073, allocations: 4.688 kB / 1.134 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/1.073, allocations: 8.188 kB / 1.134 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/1.074, allocations: 160.5 kB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/1.074, allocations: 8.781 kB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/1.074, allocations: 59.58 kB / 1.134 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.074, allocations: 37.94 kB / 1.134 GB, free: 7.121 MB / 0.8887 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.0002061/1.075, allocations: 213.7 kB / 1.135 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.075, allocations: 70.23 kB / 1.135 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.076, allocations: 0.6415 MB / 1.135 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/1.076, allocations: 6.375 kB / 1.135 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.076, allocations: 64 / 1.135 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/1.077, allocations: 205.3 kB / 1.135 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.077, allocations: 6.984 kB / 1.135 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/1.078, allocations: 37.47 kB / 1.135 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.078, allocations: 28.73 kB / 1.135 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002158/1.08, allocations: 0.6526 MB / 1.136 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002481/1.082, allocations: 0.9694 MB / 1.137 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007083/1.083, allocations: 232.7 kB / 1.137 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009093/1.084, allocations: 399.9 kB / 1.138 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of Backend: time 2.405e-06/1.084, allocations: 1.219 kB / 1.138 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004108/1.088, allocations: 0.9318 MB / 1.139 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003178/1.091, allocations: 1.609 MB / 1.14 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of Templates: time 0.03311/1.125, allocations: 14.41 MB / 1.154 GB, free: 15.77 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)