Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001569/0.001569, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 62.75 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4097, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02406/0.4338, allocations: 20.66 MB / 1.088 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007573/0.4414, allocations: 4.982 MB / 1.093 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/0.4423, allocations: 15.88 kB / 1.093 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008948/0.4432, allocations: 226.7 kB / 1.093 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.4455, allocations: 0.7496 MB / 1.094 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.4475, allocations: 0.6379 MB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002153/0.4497, allocations: 1.812 MB / 1.096 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.4503, allocations: 384.7 kB / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.4513, allocations: 0.5173 MB / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.4519, allocations: 454 kB / 1.097 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.452, allocations: 27.94 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.4533, allocations: 0.6003 MB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.4535, allocations: 107.5 kB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.4538, allocations: 274.5 kB / 1.098 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.4549, allocations: 0.8177 MB / 1.099 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4549, allocations: 0 / 1.099 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4549, allocations: 0 / 1.099 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4549, allocations: 4 kB / 1.099 GB, free: 10.57 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.001741/0.4567, allocations: 0.9226 MB / 1.1 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4567, allocations: 8.031 kB / 1.1 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.4569, allocations: 68.12 kB / 1.1 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.4575, allocations: 459.3 kB / 1.1 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.4575, allocations: 24.66 kB / 1.1 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.4576, allocations: 39.98 kB / 1.1 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.4583, allocations: 302 kB / 1.101 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4583, allocations: 4 kB / 1.101 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.4583, allocations: 8 kB / 1.101 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4583, allocations: 8 kB / 1.101 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.459, allocations: 266.4 kB / 1.101 GB, free: 8.391 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.002204/0.4612, allocations: 1.337 MB / 1.102 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.4617, allocations: 258.5 kB / 1.103 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.462, allocations: 128.8 kB / 1.103 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/0.4625, allocations: 0.4947 MB / 1.103 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.4626, allocations: 42.5 kB / 1.103 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 2.815e-06/0.4626, allocations: 96 / 1.103 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001771/0.4644, allocations: 0.5712 MB / 1.104 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4644, allocations: 55.41 kB / 1.104 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.4649, allocations: 462.2 kB / 1.104 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.465, allocations: 29.7 kB / 1.104 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.4652, allocations: 252.4 kB / 1.105 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.4653, allocations: 86.75 kB / 1.105 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4654, allocations: 77.67 kB / 1.105 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4656, allocations: 350.8 kB / 1.105 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.4659, allocations: 124.8 kB / 1.105 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.4663, allocations: 186.8 kB / 1.105 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.4669, allocations: 268.9 kB / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4669, allocations: 0 / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001542/0.4684, allocations: 0.4963 MB / 1.106 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4685, allocations: 5.875 kB / 1.106 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4685, allocations: 0 / 1.106 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.4689, allocations: 52.81 kB / 1.106 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.4692, allocations: 71.88 kB / 1.106 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004669/0.4697, allocations: 0.5602 MB / 1.107 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.4702, allocations: 63.61 kB / 1.107 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4703, allocations: 15.98 kB / 1.107 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005907/0.4709, allocations: 243.9 kB / 1.107 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003724/0.4712, allocations: 181.4 kB / 1.107 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005863/0.4718, allocations: 270.4 kB / 1.107 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.4718, allocations: 0 / 1.107 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007883/0.4726, allocations: 370.8 kB / 1.108 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.4727, allocations: 4 kB / 1.108 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.4727, allocations: 4 kB / 1.108 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.4727, allocations: 4 kB / 1.108 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.4731, allocations: 87.81 kB / 1.108 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4731, allocations: 4 kB / 1.108 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.4735, allocations: 51.8 kB / 1.108 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.4736, allocations: 19.98 kB / 1.108 GB, free: 0.8164 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.0001566/0.4738, allocations: 192.2 kB / 1.108 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.4739, allocations: 51.34 kB / 1.108 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.4749, allocations: 428.5 kB / 1.109 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4749, allocations: 0 / 1.109 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.4749, allocations: 7.984 kB / 1.109 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4749, allocations: 7.938 kB / 1.109 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.4765, allocations: 0.9395 MB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4766, allocations: 4.125 kB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.4768, allocations: 56.03 kB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001792/0.477, allocations: 40.83 kB / 1.11 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.477, allocations: 11.98 kB / 1.11 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003915/0.4774, allocations: 0.5523 MB / 1.11 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.4774, allocations: 7.969 kB / 1.11 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/0.4783, allocations: 0.4911 MB / 1.111 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.4785, allocations: 152.4 kB / 1.111 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.4786, allocations: 8 kB / 1.111 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.4789, allocations: 35.86 kB / 1.111 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.479, allocations: 31.91 kB / 1.111 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.479, allocations: 8 kB / 1.111 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003793/0.4794, allocations: 322.9 kB / 1.111 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4794, allocations: 4 kB / 1.111 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008781/0.4803, allocations: 247.5 kB / 1.111 GB, free: 13.08 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.0006217/0.481, allocations: 249.8 kB / 1.112 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.4822, allocations: 462.1 kB / 1.112 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4822, allocations: 0 / 1.112 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.4827, allocations: 163.8 kB / 1.112 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.4841, allocations: 257.5 kB / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.4859, allocations: 0.9957 MB / 1.114 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.4864, allocations: 0.8552 MB / 1.114 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004937/0.4869, allocations: 112.2 kB / 1.114 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.487, allocations: 43.42 kB / 1.115 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.487, allocations: 0 / 1.115 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of Templates: time 0.01986/0.5069, allocations: 9.936 MB / 1.124 GB, free: 120 kB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)