Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009639, allocations: 97.64 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.006103/0.006103, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 12.72 kB / 0.9029 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2702, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1868/0.4571, allocations: 189.1 MB / 1.243 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009856/0.467, allocations: 6.926 MB / 1.25 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.4683, allocations: 39.69 kB / 1.25 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5252/0.9935, allocations: 0.5498 MB / 1.251 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.9989, allocations: 2.183 MB / 1.253 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/1.002, allocations: 1.29 MB / 1.254 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004923/1.007, allocations: 3.735 MB / 1.258 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/1.008, allocations: 0.779 MB / 1.259 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/1.01, allocations: 0.9559 MB / 1.26 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/1.012, allocations: 0.7843 MB / 1.26 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/1.012, allocations: 41.34 kB / 1.26 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003691/1.016, allocations: 2.222 MB / 1.263 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005128/1.016, allocations: 306.6 kB / 1.263 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/1.017, allocations: 0.5543 MB / 1.263 GB, free: 18.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003826/1.021, allocations: 2.391 MB / 1.266 GB, free: 18.67 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.021, allocations: 0.8125 kB / 1.266 GB, free: 18.67 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/1.021, allocations: 0 / 1.266 GB, free: 18.67 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.796e-05/1.021, allocations: 0 / 1.266 GB, free: 18.67 MB / 1.014 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.00411/1.026, allocations: 1.383 MB / 1.267 GB, free: 17.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.026, allocations: 13.62 kB / 1.267 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003321/1.026, allocations: 112 kB / 1.267 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/1.029, allocations: 0.6036 MB / 1.268 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/1.032, allocations: 0.9871 MB / 1.269 GB, free: 17.37 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/1.033, allocations: 317 kB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/1.033, allocations: 79 kB / 1.269 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/1.036, allocations: 1.147 MB / 1.27 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.036, allocations: 8.781 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/1.036, allocations: 30.33 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/1.036, allocations: 30.23 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/1.04, allocations: 1.255 MB / 1.272 GB, free: 17.16 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.005912/1.046, allocations: 3.25 MB / 1.275 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.047, allocations: 0.7083 MB / 1.275 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007851/1.048, allocations: 430.4 kB / 1.276 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000857/1.049, allocations: 1.028 MB / 1.277 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/1.05, allocations: 0.518 MB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/1.05, allocations: 1.219 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003181/1.053, allocations: 1.242 MB / 1.279 GB, free: 14.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/1.053, allocations: 143.5 kB / 1.279 GB, free: 14.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/1.056, allocations: 1.22 MB / 1.28 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.276e-05/1.056, allocations: 38.98 kB / 1.28 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/1.056, allocations: 438.1 kB / 1.28 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.056, allocations: 184.9 kB / 1.28 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/1.056, allocations: 49.42 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.056, allocations: 340.3 kB / 1.281 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.058, allocations: 483 kB / 1.281 GB, free: 13.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/1.059, allocations: 0.6436 MB / 1.282 GB, free: 13.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/1.061, allocations: 0.9757 MB / 1.283 GB, free: 13.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.061, allocations: 1.031 kB / 1.283 GB, free: 13.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003309/1.065, allocations: 1.291 MB / 1.284 GB, free: 13.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/1.065, allocations: 41.66 kB / 1.284 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.065, allocations: 7.312 kB / 1.284 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.065, allocations: 7.562 kB / 1.284 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/1.066, allocations: 210.6 kB / 1.284 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.066, allocations: 8.906 kB / 1.284 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.068, allocations: 303.4 kB / 1.285 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/1.068, allocations: 39.47 kB / 1.285 GB, free: 13.17 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.0004873/1.068, allocations: 330.6 kB / 1.285 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.068, allocations: 115.3 kB / 1.285 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/1.07, allocations: 1.008 MB / 1.286 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.07, allocations: 6.547 kB / 1.286 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.07, allocations: 10.03 kB / 1.286 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.07, allocations: 7.125 kB / 1.286 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/1.075, allocations: 3.178 MB / 1.289 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.075, allocations: 10.66 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/1.076, allocations: 125.7 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/1.076, allocations: 10.03 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/1.076, allocations: 25.72 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/1.076, allocations: 19.03 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.076, allocations: 10.94 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/1.078, allocations: 1.349 MB / 1.291 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000507/1.078, allocations: 330.2 kB / 1.291 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.078, allocations: 23.7 kB / 1.291 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.08, allocations: 131.9 kB / 1.291 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.08, allocations: 57.09 kB / 1.291 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/1.08, allocations: 41.95 kB / 1.291 GB, free: 11.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001713/1.082, allocations: 0.8895 MB / 1.292 GB, free: 11.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/1.082, allocations: 0 / 1.292 GB, free: 11.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001338/1.083, allocations: 300.4 kB / 1.292 GB, free: 11.14 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.003083/1.086, allocations: 2.141 MB / 1.295 GB, free: 9.988 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002479/1.089, allocations: 1.047 MB / 1.296 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.089, allocations: 1.344 kB / 1.296 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009111/1.09, allocations: 0.5216 MB / 1.296 GB, free: 9.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/1.094, allocations: 0.5427 MB / 1.297 GB, free: 9.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.113, allocations: 10.42 MB / 1.307 GB, free: 5.938 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/1.113, allocations: 1.075 MB / 1.308 GB, free: 5.211 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001304/1.115, allocations: 281.1 kB / 1.308 GB, free: 5.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/1.115, allocations: 359 kB / 1.308 GB, free: 5.137 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.115, allocations: 0 / 1.308 GB, free: 5.137 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/1.166, allocations: 30.32 MB / 1.338 GB, free: 11.03 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/1.166, allocations: 278.1 kB / 1.338 GB, free: 10.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.547, allocations: 0 / 1.338 GB, free: 10.67 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)