Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009565/0.0009565, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009574/0.0009574, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.689/1.689, allocations: 251.9 MB / 0.51 GB, free: 4.855 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005601, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6477, allocations: 106.3 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2078/0.8556, allocations: 162.2 MB / 0.8864 GB, free: 9 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.8686, allocations: 6.376 MB / 0.8926 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.871, allocations: 35.69 kB / 0.8926 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.874, allocations: 0.6805 MB / 0.8933 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.8809, allocations: 1.749 MB / 0.895 GB, free: 148 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005036/0.8859, allocations: 1.53 MB / 0.8965 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003863/0.8898, allocations: 1.68 MB / 0.8981 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.8912, allocations: 0.6918 MB / 0.8988 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.8932, allocations: 0.8488 MB / 0.8996 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009106/0.8941, allocations: 0.5952 MB / 0.9002 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.8942, allocations: 40 kB / 0.9002 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.8971, allocations: 1.178 MB / 0.9014 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.8974, allocations: 283.1 kB / 0.9017 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.8978, allocations: 241.1 kB / 0.9019 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.8996, allocations: 1.563 MB / 0.9034 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8996, allocations: 0 / 0.9034 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8996, allocations: 3.938 kB / 0.9034 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.8996, allocations: 0 / 0.9034 GB, free: 7.5 MB / 0.7169 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.003421/0.9031, allocations: 1.395 MB / 0.9048 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9031, allocations: 16.03 kB / 0.9048 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.9061, allocations: 0.5956 MB / 0.9054 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.9079, allocations: 0.9291 MB / 0.9063 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/0.9091, allocations: 317 kB / 0.9066 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.9093, allocations: 68 kB / 0.9067 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.9118, allocations: 1.168 MB / 0.9078 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.9119, allocations: 0 / 0.9078 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/0.912, allocations: 31.98 kB / 0.9078 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.912, allocations: 33.25 kB / 0.9079 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.9153, allocations: 1.321 MB / 0.9092 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4415/1.357, allocations: 3.091 MB / 0.9122 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/1.359, allocations: 0.7307 MB / 0.9129 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000475/1.359, allocations: 0.6679 MB / 0.9135 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/1.361, allocations: 0.5343 MB / 0.9141 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.615e-06/1.361, allocations: 0 / 0.9141 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.003523/1.364, allocations: 1.369 MB / 0.9154 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/1.364, allocations: 121.3 kB / 0.9155 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/1.367, allocations: 1.217 MB / 0.9167 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/1.367, allocations: 38.45 kB / 0.9167 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/1.367, allocations: 434.5 kB / 0.9171 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.368, allocations: 195.9 kB / 0.9173 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/1.368, allocations: 11.16 kB / 0.9173 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.756e-05/1.368, allocations: 333.6 kB / 0.9177 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/1.369, allocations: 499.2 kB / 0.9181 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.371, allocations: 0.6435 MB / 0.9188 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/1.373, allocations: 0.5504 MB / 0.9193 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.373, allocations: 4.125 kB / 0.9193 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003835/1.376, allocations: 1.309 MB / 0.9206 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/1.376, allocations: 36.89 kB / 0.9206 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.376, allocations: 2.781 kB / 0.9206 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/1.377, allocations: 6.625 kB / 0.9206 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.378, allocations: 215.6 kB / 0.9208 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/1.378, allocations: 10.66 kB / 0.9208 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.38, allocations: 308.5 kB / 0.9211 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.38, allocations: 35.27 kB / 0.9212 GB, free: 176.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006044/1.38, allocations: 334.1 kB / 0.9215 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.381, allocations: 116.8 kB / 0.9216 GB, free: 176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/1.383, allocations: 1.064 MB / 0.9226 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.383, allocations: 14.23 kB / 0.9227 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.383, allocations: 2.844 kB / 0.9227 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/1.383, allocations: 7.562 kB / 0.9227 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/1.388, allocations: 3.228 MB / 0.9258 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.388, allocations: 11.86 kB / 0.9258 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/1.388, allocations: 130.8 kB / 0.926 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/1.388, allocations: 11.91 kB / 0.926 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/1.388, allocations: 29.19 kB / 0.926 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.389, allocations: 15.83 kB / 0.926 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.389, allocations: 11.84 kB / 0.926 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/1.39, allocations: 1.726 MB / 0.9277 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/1.391, allocations: 337.5 kB / 0.928 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/1.391, allocations: 23.81 kB / 0.9281 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.392, allocations: 126.7 kB / 0.9282 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.392, allocations: 63.31 kB / 0.9282 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/1.392, allocations: 43.47 kB / 0.9283 GB, free: 172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001373/1.394, allocations: 0.8911 MB / 0.9291 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.394, allocations: 0 / 0.9291 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001077/1.395, allocations: 307.8 kB / 0.9294 GB, free: 171.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006309/1.396, allocations: 365.2 kB / 0.9298 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002219/1.398, allocations: 1.08 MB / 0.9308 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.398, allocations: 0 / 0.9308 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008145/1.399, allocations: 0.5427 MB / 0.9314 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.401, allocations: 0.521 MB / 0.9319 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/1.404, allocations: 2.311 MB / 0.9341 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/1.404, allocations: 1.089 MB / 0.9352 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001011/1.405, allocations: 291.5 kB / 0.9355 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/1.405, allocations: 83.41 kB / 0.9356 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.532e-06/1.405, allocations: 0 / 0.9356 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.03008/1.436, allocations: 21.1 MB / 0.9562 GB, free: 145.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: