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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001541/0.001541, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.47 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2714, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1863/0.4578, allocations: 194 MB / 1.242 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5388/0.9967, allocations: 6.927 MB / 1.249 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.9982, allocations: 45.62 kB / 1.249 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/1, allocations: 0.6848 MB / 1.25 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005396/1.006, allocations: 2.345 MB / 1.252 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/1.009, allocations: 1.405 MB / 1.253 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003848/1.013, allocations: 2.986 MB / 1.256 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/1.014, allocations: 0.8892 MB / 1.257 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/1.017, allocations: 1.133 MB / 1.258 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/1.018, allocations: 0.8035 MB / 1.259 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003818/1.019, allocations: 98.94 kB / 1.259 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/1.023, allocations: 2.05 MB / 1.261 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005686/1.023, allocations: 373.2 kB / 1.262 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009771/1.024, allocations: 0.5869 MB / 1.262 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005072/1.029, allocations: 2.361 MB / 1.264 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.029, allocations: 2.469 kB / 1.264 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/1.029, allocations: 4.391 kB / 1.265 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.233e-05/1.029, allocations: 1.062 kB / 1.265 GB, free: 2.566 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.004174/1.034, allocations: 1.626 MB / 1.266 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.034, allocations: 10.97 kB / 1.266 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/1.034, allocations: 116.2 kB / 1.266 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/1.037, allocations: 0.5315 MB / 1.267 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/1.04, allocations: 0.9881 MB / 1.268 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/1.041, allocations: 277.7 kB / 1.268 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/1.041, allocations: 68.81 kB / 1.268 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/1.044, allocations: 1.121 MB / 1.269 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.044, allocations: 0 / 1.269 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.044, allocations: 31.19 kB / 1.269 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/1.044, allocations: 35.88 kB / 1.269 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/1.048, allocations: 1.197 MB / 1.27 GB, free: 17.15 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.008019/1.056, allocations: 3.217 MB / 1.273 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.058, allocations: 0.6903 MB / 1.274 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/1.059, allocations: 423.3 kB / 1.275 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009261/1.06, allocations: 1.024 MB / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/1.061, allocations: 0.5146 MB / 1.276 GB, free: 14.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.805e-06/1.061, allocations: 1.312 kB / 1.276 GB, free: 14.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003181/1.064, allocations: 1.22 MB / 1.277 GB, free: 14.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/1.064, allocations: 143.9 kB / 1.277 GB, free: 14.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.066, allocations: 1.198 MB / 1.279 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.066, allocations: 38.92 kB / 1.279 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/1.067, allocations: 436.5 kB / 1.279 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/1.067, allocations: 192.2 kB / 1.279 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/1.067, allocations: 147.5 kB / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.067, allocations: 335.6 kB / 1.28 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/1.069, allocations: 458.6 kB / 1.28 GB, free: 13.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/1.07, allocations: 0.6115 MB / 1.281 GB, free: 13.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/1.072, allocations: 0.9425 MB / 1.282 GB, free: 13.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.072, allocations: 2.734 kB / 1.282 GB, free: 13.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003343/1.076, allocations: 1.235 MB / 1.283 GB, free: 13.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/1.076, allocations: 39.5 kB / 1.283 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.076, allocations: 7.156 kB / 1.283 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.076, allocations: 7.766 kB / 1.283 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.077, allocations: 201.7 kB / 1.283 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/1.077, allocations: 9.109 kB / 1.283 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.079, allocations: 263.1 kB / 1.283 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/1.079, allocations: 38.67 kB / 1.283 GB, free: 13.37 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.0005325/1.079, allocations: 338 kB / 1.284 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/1.079, allocations: 120.5 kB / 1.284 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/1.081, allocations: 0.989 MB / 1.285 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.081, allocations: 9.125 kB / 1.285 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.081, allocations: 1.562 kB / 1.285 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.082, allocations: 3.766 kB / 1.285 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/1.086, allocations: 3.156 MB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.086, allocations: 11 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/1.087, allocations: 123.9 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/1.087, allocations: 9.062 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/1.087, allocations: 27.08 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/1.087, allocations: 16.83 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/1.087, allocations: 14.88 kB / 1.288 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/1.089, allocations: 1.327 MB / 1.289 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/1.089, allocations: 336.8 kB / 1.29 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/1.09, allocations: 22.75 kB / 1.29 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.091, allocations: 108.7 kB / 1.29 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/1.091, allocations: 59.62 kB / 1.29 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/1.091, allocations: 42.23 kB / 1.29 GB, free: 11.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001526/1.093, allocations: 0.8703 MB / 1.291 GB, free: 11.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.093, allocations: 1.094 kB / 1.291 GB, free: 11.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001149/1.094, allocations: 304 kB / 1.291 GB, free: 11.36 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.002955/1.097, allocations: 2.113 MB / 1.293 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002523/1.099, allocations: 1.06 MB / 1.294 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.099, allocations: 0 / 1.294 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008596/1.1, allocations: 0.5094 MB / 1.295 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.103, allocations: 0.5677 MB / 1.295 GB, free: 9.941 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.121, allocations: 9.999 MB / 1.305 GB, free: 6.395 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008072/1.122, allocations: 1.068 MB / 1.306 GB, free: 5.672 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00125/1.123, allocations: 271.7 kB / 1.306 GB, free: 5.613 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/1.124, allocations: 362.4 kB / 1.307 GB, free: 5.605 MB / 1.014 GB Notification: Performance of SimCode: time 2.715e-06/1.124, allocations: 0 / 1.307 GB, free: 5.605 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/1.178, allocations: 31.55 MB / 1.337 GB, free: 12.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/9.393, allocations: 14.36 kB / 1.337 GB, free: 12.2 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)