Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, 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.002555/0.002555, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 65.55 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3919, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9582/1.35, allocations: 191.7 MB / 1.255 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009633/1.36, allocations: 6.985 MB / 1.261 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/1.361, allocations: 40.69 kB / 1.262 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/1.363, allocations: 0.5706 MB / 1.262 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007051/1.37, allocations: 2.187 MB / 1.264 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/1.374, allocations: 1.282 MB / 1.265 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005032/1.379, allocations: 3.738 MB / 1.269 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/1.381, allocations: 0.7883 MB / 1.27 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/1.383, allocations: 0.9729 MB / 1.271 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/1.385, allocations: 0.8146 MB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/1.385, allocations: 46.88 kB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/1.39, allocations: 2.227 MB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005821/1.39, allocations: 321.8 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000915/1.391, allocations: 0.5344 MB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005464/1.397, allocations: 2.426 MB / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.397, allocations: 0 / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/1.397, allocations: 0 / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.437e-05/1.397, allocations: 1.125 kB / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00487/1.402, allocations: 1.625 MB / 1.279 GB, free: 20.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.322e-05/1.402, allocations: 9.125 kB / 1.279 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/1.406, allocations: 0.536 MB / 1.279 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/1.408, allocations: 0.9835 MB / 1.28 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/1.409, allocations: 278.2 kB / 1.28 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.41, allocations: 65.09 kB / 1.28 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/1.412, allocations: 1.131 MB / 1.282 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.412, allocations: 2.906 kB / 1.282 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/1.412, allocations: 26.62 kB / 1.282 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/1.412, allocations: 28.5 kB / 1.282 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/1.416, allocations: 1.205 MB / 1.283 GB, free: 19.83 MB / 1.014 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.006467/1.422, allocations: 3.199 MB / 1.286 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/1.424, allocations: 0.6975 MB / 1.287 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/1.425, allocations: 427.1 kB / 1.287 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009462/1.425, allocations: 1.019 MB / 1.288 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/1.426, allocations: 0.5201 MB / 1.289 GB, free: 17.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 3.156e-06/1.427, allocations: 0 / 1.289 GB, free: 17.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003065/1.43, allocations: 1.216 MB / 1.29 GB, free: 17.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/1.43, allocations: 150.5 kB / 1.29 GB, free: 17.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.432, allocations: 1.2 MB / 1.291 GB, free: 17.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/1.432, allocations: 38.97 kB / 1.291 GB, free: 17.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/1.432, allocations: 435.7 kB / 1.291 GB, free: 16.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.432, allocations: 190.2 kB / 1.292 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/1.433, allocations: 154 kB / 1.292 GB, free: 16.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.433, allocations: 324.8 kB / 1.292 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.434, allocations: 462.2 kB / 1.293 GB, free: 16.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.436, allocations: 0.6152 MB / 1.293 GB, free: 16.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/1.438, allocations: 0.9488 MB / 1.294 GB, free: 16.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.438, allocations: 0 / 1.294 GB, free: 16.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00348/1.441, allocations: 1.233 MB / 1.295 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/1.441, allocations: 40.42 kB / 1.295 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.441, allocations: 3.344 kB / 1.295 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/1.441, allocations: 6.5 kB / 1.295 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/1.442, allocations: 202.3 kB / 1.296 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.442, allocations: 9 kB / 1.296 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.444, allocations: 279.2 kB / 1.296 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/1.444, allocations: 35.27 kB / 1.296 GB, free: 15.84 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005714/1.445, allocations: 328.9 kB / 1.296 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/1.445, allocations: 115.7 kB / 1.296 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/1.447, allocations: 0.9949 MB / 1.297 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/1.447, allocations: 10.47 kB / 1.297 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.447, allocations: 5.156 kB / 1.297 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.447, allocations: 7.359 kB / 1.297 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/1.452, allocations: 3.151 MB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.452, allocations: 8.25 kB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/1.452, allocations: 123.9 kB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/1.452, allocations: 9.781 kB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/1.452, allocations: 24.34 kB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/1.453, allocations: 15.95 kB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.453, allocations: 12.7 kB / 1.301 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/1.455, allocations: 1.346 MB / 1.302 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/1.455, allocations: 324.1 kB / 1.302 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/1.455, allocations: 23.88 kB / 1.302 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.457, allocations: 110.1 kB / 1.302 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.457, allocations: 65.42 kB / 1.302 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/1.457, allocations: 39.66 kB / 1.302 GB, free: 13.97 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001557/1.458, allocations: 0.8727 MB / 1.303 GB, free: 13.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.458, allocations: 0 / 1.303 GB, free: 13.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001263/1.46, allocations: 295 kB / 1.303 GB, free: 13.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008085/1.46, allocations: 358.1 kB / 1.304 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002461/1.463, allocations: 1.021 MB / 1.305 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.463, allocations: 0 / 1.305 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009583/1.464, allocations: 0.5142 MB / 1.305 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.467, allocations: 0.5292 MB / 1.306 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/1.47, allocations: 2.342 MB / 1.308 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/1.471, allocations: 1.07 MB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001279/1.472, allocations: 278.2 kB / 1.309 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/1.472, allocations: 77.16 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.472, allocations: 0 / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03433/1.507, allocations: 21.25 MB / 1.33 GB, free: 5.902 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)