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.0008803/0.0008801, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007325/0.007325, allocations: 172.2 kB / 16.27 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003937, allocations: 16.06 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3769, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.019/0.3959, allocations: 20.07 MB / 1.094 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006782/0.4027, allocations: 4.92 MB / 1.099 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006247/0.4034, allocations: 15.88 kB / 1.099 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007262/0.4041, allocations: 226.7 kB / 1.099 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.4061, allocations: 0.7464 MB / 1.099 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.4079, allocations: 0.6404 MB / 1.1 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.41, allocations: 1.809 MB / 1.102 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000534/0.4105, allocations: 368.4 kB / 1.102 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00087/0.4114, allocations: 0.5212 MB / 1.103 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.412, allocations: 454 kB / 1.103 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.412, allocations: 20 kB / 1.103 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.4132, allocations: 0.6042 MB / 1.104 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.4133, allocations: 99.52 kB / 1.104 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.4136, allocations: 288.2 kB / 1.104 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009436/0.4145, allocations: 0.8176 MB / 1.105 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4146, allocations: 3.938 kB / 1.105 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4146, allocations: 0 / 1.105 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.4146, allocations: 0 / 1.105 GB, free: 7.867 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.001454/0.416, allocations: 0.8217 MB / 1.106 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4161, allocations: 11.97 kB / 1.106 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.4162, allocations: 64.19 kB / 1.106 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.4168, allocations: 459.1 kB / 1.106 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.4168, allocations: 28.59 kB / 1.106 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.4169, allocations: 36 kB / 1.106 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.4176, allocations: 318 kB / 1.107 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4176, allocations: 4 kB / 1.107 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.4176, allocations: 12 kB / 1.107 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4176, allocations: 7.938 kB / 1.107 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.4183, allocations: 282.4 kB / 1.107 GB, free: 5.75 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.0021/0.4204, allocations: 1.356 MB / 1.108 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.4209, allocations: 270.4 kB / 1.109 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.4212, allocations: 144.8 kB / 1.109 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004321/0.4217, allocations: 0.4986 MB / 1.109 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4217, allocations: 42.53 kB / 1.109 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.4217, allocations: 0 / 1.109 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.00173/0.4235, allocations: 0.587 MB / 1.11 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4235, allocations: 59.39 kB / 1.11 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.424, allocations: 466.1 kB / 1.11 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.4241, allocations: 33.7 kB / 1.11 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4243, allocations: 240.5 kB / 1.111 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.4243, allocations: 86.75 kB / 1.111 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.4244, allocations: 37.7 kB / 1.111 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.4246, allocations: 354.8 kB / 1.111 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.4249, allocations: 123.9 kB / 1.111 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.4253, allocations: 194.9 kB / 1.111 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.426, allocations: 292.7 kB / 1.112 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.426, allocations: 8 kB / 1.112 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001518/0.4275, allocations: 0.5039 MB / 1.112 GB, free: 148 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/0.4276, allocations: 112.4 kB / 1.112 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4276, allocations: 0 / 1.112 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.428, allocations: 56.81 kB / 1.112 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.4283, allocations: 71.89 kB / 1.112 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004303/0.4288, allocations: 0.564 MB / 1.113 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.4293, allocations: 70.36 kB / 1.113 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.4293, allocations: 15.94 kB / 1.113 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.4293, allocations: 4 kB / 1.113 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007125/0.4301, allocations: 327.6 kB / 1.113 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.4301, allocations: 0 / 1.113 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.4301, allocations: 0 / 1.113 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.4305, allocations: 91.88 kB / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4305, allocations: 8 kB / 1.113 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.4309, allocations: 55.7 kB / 1.113 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.4309, allocations: 19.98 kB / 1.113 GB, free: 14.73 MB / 0.8731 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.0002484/0.4312, allocations: 249 kB / 1.114 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.4313, allocations: 47.34 kB / 1.114 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009765/0.4323, allocations: 452.7 kB / 1.114 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.4323, allocations: 8.125 kB / 1.114 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4323, allocations: 0 / 1.114 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4323, allocations: 7.922 kB / 1.114 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.4338, allocations: 0.963 MB / 1.115 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4338, allocations: 4 kB / 1.115 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.434, allocations: 51.95 kB / 1.115 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.4342, allocations: 44.77 kB / 1.115 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.4342, allocations: 8 kB / 1.115 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000333/0.4346, allocations: 0.5603 MB / 1.116 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4346, allocations: 0 / 1.116 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.4354, allocations: 0.5145 MB / 1.116 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4356, allocations: 164.3 kB / 1.116 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.4356, allocations: 4 kB / 1.116 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.436, allocations: 39.97 kB / 1.116 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.4361, allocations: 27.83 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.4361, allocations: 19.92 kB / 1.116 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003559/0.4365, allocations: 318.9 kB / 1.117 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4365, allocations: 4 kB / 1.117 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007312/0.4372, allocations: 251.5 kB / 1.117 GB, free: 10.85 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.0004942/0.4377, allocations: 252 kB / 1.117 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.4389, allocations: 487.5 kB / 1.118 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4389, allocations: 0 / 1.118 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.4394, allocations: 186.8 kB / 1.118 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.4409, allocations: 259.2 kB / 1.118 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.4423, allocations: 1.022 MB / 1.119 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4427, allocations: 0.8591 MB / 1.12 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004192/0.4431, allocations: 112.3 kB / 1.12 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.4432, allocations: 43.42 kB / 1.12 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.4432, allocations: 0 / 1.12 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of Templates: time 0.01788/0.4611, allocations: 9.88 MB / 1.13 GB, free: 13.86 MB / 0.8887 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)