Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001509/0.001509, allocations: 191.7 kB / 16.25 MB, free: 6.629 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.39 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02041/0.3383, allocations: 20.62 MB / 1.088 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007106/0.3455, allocations: 4.932 MB / 1.093 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.3463, allocations: 15.88 kB / 1.093 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.3471, allocations: 230.7 kB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.3495, allocations: 0.7656 MB / 1.094 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.3515, allocations: 0.6414 MB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.3533, allocations: 1.383 MB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006379/0.354, allocations: 428.6 kB / 1.096 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009609/0.3549, allocations: 0.5836 MB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.3555, allocations: 462.1 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.3556, allocations: 36 kB / 1.097 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.3567, allocations: 0.6355 MB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3569, allocations: 127.5 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.3572, allocations: 290.5 kB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.3583, allocations: 0.8372 MB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3583, allocations: 0 / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3583, allocations: 3.938 kB / 1.099 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3584, allocations: 0 / 1.099 GB, free: 10.78 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001539/0.3599, allocations: 0.9148 MB / 1.1 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.36, allocations: 12.03 kB / 1.1 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3601, allocations: 64.19 kB / 1.1 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.3607, allocations: 455.3 kB / 1.1 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3607, allocations: 24.66 kB / 1.1 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.3608, allocations: 36 kB / 1.1 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.3614, allocations: 310 kB / 1.101 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3614, allocations: 0 / 1.101 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.3615, allocations: 12 kB / 1.101 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3615, allocations: 8 kB / 1.101 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.3621, allocations: 262.4 kB / 1.101 GB, free: 8.609 MB / 0.8575 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.002105/0.3642, allocations: 1.341 MB / 1.102 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.3647, allocations: 255.9 kB / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.3651, allocations: 133.4 kB / 1.103 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.3655, allocations: 0.5025 MB / 1.103 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3656, allocations: 46.53 kB / 1.103 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.3656, allocations: 0 / 1.103 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001769/0.3673, allocations: 0.5518 MB / 1.104 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3674, allocations: 63.39 kB / 1.104 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.3679, allocations: 462.2 kB / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.3679, allocations: 29.7 kB / 1.104 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3681, allocations: 248.4 kB / 1.104 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3682, allocations: 78.75 kB / 1.105 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3683, allocations: 77.69 kB / 1.105 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3685, allocations: 354.8 kB / 1.105 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3688, allocations: 124.8 kB / 1.105 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.3691, allocations: 183.1 kB / 1.105 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.3698, allocations: 278.3 kB / 1.105 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3698, allocations: 0 / 1.105 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001648/0.3714, allocations: 0.4896 MB / 1.106 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3715, allocations: 5.25 kB / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3715, allocations: 80 / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.3718, allocations: 64.73 kB / 1.106 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.3722, allocations: 71.89 kB / 1.106 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004202/0.3727, allocations: 0.5601 MB / 1.107 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.3732, allocations: 63.73 kB / 1.107 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.3732, allocations: 19.98 kB / 1.107 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004298/0.3736, allocations: 235.8 kB / 1.107 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003482/0.374, allocations: 193.3 kB / 1.107 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005793/0.3746, allocations: 248.7 kB / 1.107 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.3746, allocations: 0 / 1.107 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007847/0.3754, allocations: 375.4 kB / 1.108 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3754, allocations: 4 kB / 1.108 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3754, allocations: 3.984 kB / 1.108 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.3754, allocations: 4 kB / 1.108 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.3758, allocations: 79.83 kB / 1.108 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3759, allocations: 7.938 kB / 1.108 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.3763, allocations: 55.78 kB / 1.108 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.3764, allocations: 19.94 kB / 1.108 GB, free: 1.035 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.3765, allocations: 192.2 kB / 1.108 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.3766, allocations: 59.28 kB / 1.108 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009667/0.3776, allocations: 428.6 kB / 1.109 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3776, allocations: 8 kB / 1.109 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3776, allocations: 0 / 1.109 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3776, allocations: 4 kB / 1.109 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.3792, allocations: 0.9395 MB / 1.109 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3792, allocations: 0 / 1.109 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3794, allocations: 51.91 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.3796, allocations: 48.94 kB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.3796, allocations: 8 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003471/0.38, allocations: 0.5603 MB / 1.11 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.38, allocations: 3.938 kB / 1.11 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.3808, allocations: 0.495 MB / 1.111 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.381, allocations: 148.4 kB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.3811, allocations: 11.98 kB / 1.111 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.3815, allocations: 35.88 kB / 1.111 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.3816, allocations: 27.91 kB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.3816, allocations: 15.98 kB / 1.111 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003549/0.382, allocations: 318.9 kB / 1.111 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/0.382, allocations: 0 / 1.111 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007556/0.3827, allocations: 251.5 kB / 1.111 GB, free: 13.29 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005219/0.3833, allocations: 258.9 kB / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.3845, allocations: 467.5 kB / 1.112 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3845, allocations: 0 / 1.112 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.3849, allocations: 171.7 kB / 1.112 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3861, allocations: 227.6 kB / 1.112 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3876, allocations: 0.9988 MB / 1.113 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.388, allocations: 0.8549 MB / 1.114 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004482/0.3885, allocations: 112.1 kB / 1.114 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3886, allocations: 43.42 kB / 1.114 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.3886, allocations: 0 / 1.114 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.01769/0.4063, allocations: 9.987 MB / 1.124 GB, free: 292 kB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)