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.001482/0.001482, 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.001754/0.001754, allocations: 195 kB / 16.14 MB, free: 6.656 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.98 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1924/0.4744, allocations: 191.7 MB / 1.239 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00981/0.4843, allocations: 6.993 MB / 1.246 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009987/0.4853, allocations: 43.69 kB / 1.246 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.4868, allocations: 0.5632 MB / 1.247 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5238/1.011, allocations: 2.173 MB / 1.249 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/1.014, allocations: 1.287 MB / 1.25 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003896/1.017, allocations: 3.743 MB / 1.254 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/1.019, allocations: 0.7843 MB / 1.255 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/1.02, allocations: 0.9703 MB / 1.256 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/1.022, allocations: 0.8142 MB / 1.256 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/1.022, allocations: 47.25 kB / 1.256 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/1.026, allocations: 2.219 MB / 1.259 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/1.026, allocations: 315.7 kB / 1.259 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005998/1.027, allocations: 0.5416 MB / 1.259 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/1.03, allocations: 2.428 MB / 1.262 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.03, allocations: 4.797 kB / 1.262 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/1.03, allocations: 0.9688 kB / 1.262 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.583e-05/1.03, allocations: 0 / 1.262 GB, free: 2.812 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.003555/1.034, allocations: 1.621 MB / 1.263 GB, free: 17.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.034, allocations: 13.59 kB / 1.263 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/1.034, allocations: 114.3 kB / 1.263 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/1.037, allocations: 0.5345 MB / 1.264 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/1.039, allocations: 0.9853 MB / 1.265 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/1.04, allocations: 274.9 kB / 1.265 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.04, allocations: 67.94 kB / 1.265 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/1.043, allocations: 1.13 MB / 1.266 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.043, allocations: 2.906 kB / 1.266 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/1.043, allocations: 27.84 kB / 1.266 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/1.043, allocations: 34.12 kB / 1.266 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/1.046, allocations: 1.196 MB / 1.268 GB, free: 17.3 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.006366/1.053, allocations: 3.214 MB / 1.271 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.054, allocations: 0.6918 MB / 1.271 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/1.055, allocations: 426 kB / 1.272 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/1.056, allocations: 1.022 MB / 1.273 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009576/1.057, allocations: 0.5107 MB / 1.273 GB, free: 15.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.255e-06/1.057, allocations: 0 / 1.273 GB, free: 15.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.002925/1.06, allocations: 1.22 MB / 1.275 GB, free: 14.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/1.06, allocations: 137.8 kB / 1.275 GB, free: 14.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.062, allocations: 1.208 MB / 1.276 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/1.062, allocations: 37.77 kB / 1.276 GB, free: 14.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/1.062, allocations: 439.4 kB / 1.276 GB, free: 14.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.063, allocations: 187.2 kB / 1.276 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/1.063, allocations: 149.3 kB / 1.277 GB, free: 14.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.063, allocations: 328.8 kB / 1.277 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/1.064, allocations: 463.8 kB / 1.277 GB, free: 13.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.066, allocations: 0.6208 MB / 1.278 GB, free: 13.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/1.068, allocations: 0.9438 MB / 1.279 GB, free: 13.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.068, allocations: 5.469 kB / 1.279 GB, free: 13.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003403/1.071, allocations: 1.233 MB / 1.28 GB, free: 13.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/1.071, allocations: 37.17 kB / 1.28 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.071, allocations: 6.906 kB / 1.28 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/1.071, allocations: 5.625 kB / 1.28 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.072, allocations: 198.2 kB / 1.28 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.072, allocations: 12.42 kB / 1.28 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.074, allocations: 263.9 kB / 1.281 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.074, allocations: 38 kB / 1.281 GB, free: 13.34 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.000541/1.075, allocations: 328.8 kB / 1.281 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.075, allocations: 119.9 kB / 1.281 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/1.077, allocations: 1.003 MB / 1.282 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.077, allocations: 7.125 kB / 1.282 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.077, allocations: 4.781 kB / 1.282 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.077, allocations: 4.422 kB / 1.282 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/1.082, allocations: 3.155 MB / 1.285 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.082, allocations: 7.188 kB / 1.285 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/1.083, allocations: 124.1 kB / 1.285 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/1.083, allocations: 14.47 kB / 1.285 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/1.083, allocations: 24.06 kB / 1.285 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.675e-05/1.083, allocations: 15.94 kB / 1.285 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.083, allocations: 10.81 kB / 1.285 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.085, allocations: 1.333 MB / 1.287 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/1.086, allocations: 331 kB / 1.287 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/1.086, allocations: 25.48 kB / 1.287 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.087, allocations: 115.1 kB / 1.287 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.087, allocations: 56.02 kB / 1.287 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/1.087, allocations: 38.41 kB / 1.287 GB, free: 11.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001422/1.089, allocations: 0.8778 MB / 1.288 GB, free: 11.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.089, allocations: 0 / 1.288 GB, free: 11.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001126/1.09, allocations: 293.3 kB / 1.288 GB, free: 11.32 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.002844/1.093, allocations: 2.12 MB / 1.29 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002195/1.095, allocations: 1.021 MB / 1.291 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.095, allocations: 0 / 1.291 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008237/1.096, allocations: 0.5119 MB / 1.292 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.098, allocations: 0.5369 MB / 1.292 GB, free: 9.957 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/1.115, allocations: 10.26 MB / 1.302 GB, free: 6.125 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/1.116, allocations: 1.073 MB / 1.303 GB, free: 5.402 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001201/1.117, allocations: 274.6 kB / 1.304 GB, free: 5.344 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/1.117, allocations: 356.9 kB / 1.304 GB, free: 5.336 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.117, allocations: 1.203 kB / 1.304 GB, free: 5.336 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/1.167, allocations: 30.61 MB / 1.334 GB, free: 12.25 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.167, allocations: 273.1 kB / 1.334 GB, free: 11.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.584, allocations: 2.672 kB / 1.334 GB, free: 11.9 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)