Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_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.0009414/0.0009415, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001141/0.001141, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.4 MB / 0.6655 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 16 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.6584, allocations: 142.3 MB / 0.9538 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1876/0.846, allocations: 176.6 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009055/0.8551, allocations: 6.56 MB / 1.133 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.8562, allocations: 43.69 kB / 1.133 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.8575, allocations: 472.8 kB / 1.133 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.8615, allocations: 1.679 MB / 1.135 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.8641, allocations: 1.082 MB / 1.136 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003849/0.868, allocations: 3.219 MB / 1.139 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.869, allocations: 0.6701 MB / 1.14 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.8706, allocations: 0.9375 MB / 1.141 GB, free: 356 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.8717, allocations: 0.7507 MB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.8718, allocations: 44 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.8748, allocations: 1.212 MB / 1.143 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.8751, allocations: 302.9 kB / 1.143 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.8754, allocations: 241.1 kB / 1.143 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.8773, allocations: 1.613 MB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8773, allocations: 0 / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8773, allocations: 3.938 kB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.8774, allocations: 4 kB / 1.145 GB, free: 12.17 MB / 0.9044 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.002778/0.8801, allocations: 1.399 MB / 1.146 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.8802, allocations: 8.031 kB / 1.146 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.8804, allocations: 110.5 kB / 1.146 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.883, allocations: 0.6035 MB / 1.147 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.8849, allocations: 0.9579 MB / 1.148 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/0.886, allocations: 317 kB / 1.148 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.8861, allocations: 68 kB / 1.148 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.8884, allocations: 1.14 MB / 1.149 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.8885, allocations: 11.94 kB / 1.149 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.8886, allocations: 35.92 kB / 1.149 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.8886, allocations: 29.31 kB / 1.149 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.8916, allocations: 1.25 MB / 1.15 GB, free: 6.113 MB / 0.9044 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.005379/0.8969, allocations: 3.241 MB / 1.154 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.8985, allocations: 0.7016 MB / 1.154 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/0.8993, allocations: 427.5 kB / 1.155 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008685/0.9002, allocations: 1.025 MB / 1.156 GB, free: 428 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000971/0.9011, allocations: 0.5182 MB / 1.156 GB, free: 15.87 MB / 0.92 GB Notification: Performance of pre-optimization done (n=57): time 2.344e-06/0.9012, allocations: 3.938 kB / 1.156 GB, free: 15.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=57): time 0.002816/0.904, allocations: 1.244 MB / 1.157 GB, free: 14.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.9041, allocations: 144.9 kB / 1.158 GB, free: 14.44 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.906, allocations: 1.211 MB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.9061, allocations: 41.64 kB / 1.159 GB, free: 13.17 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.9064, allocations: 433.4 kB / 1.159 GB, free: 12.74 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.9066, allocations: 189.3 kB / 1.159 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.9067, allocations: 12 kB / 1.159 GB, free: 12.54 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9068, allocations: 330 kB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.908, allocations: 488.9 kB / 1.16 GB, free: 11.74 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.9094, allocations: 0.6444 MB / 1.161 GB, free: 11.04 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.9106, allocations: 0.5346 MB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.9106, allocations: 0 / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002918/0.9136, allocations: 1.283 MB / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.9136, allocations: 41.72 kB / 1.163 GB, free: 9.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9136, allocations: 4 kB / 1.163 GB, free: 9.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.9137, allocations: 4 kB / 1.163 GB, free: 9.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.9146, allocations: 211.7 kB / 1.163 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.9146, allocations: 11.92 kB / 1.163 GB, free: 8.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.9161, allocations: 302.8 kB / 1.163 GB, free: 8.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9162, allocations: 47.92 kB / 1.163 GB, free: 8.586 MB / 0.92 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 ($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 (67): * Single equations (assignments): 66 * 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.0005299/0.9167, allocations: 319.4 kB / 1.164 GB, free: 8.258 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.9169, allocations: 118.6 kB / 1.164 GB, free: 8.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.919, allocations: 1.012 MB / 1.165 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.919, allocations: 8 kB / 1.165 GB, free: 7.109 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.919, allocations: 0 / 1.165 GB, free: 7.109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.919, allocations: 4 kB / 1.165 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.9237, allocations: 3.173 MB / 1.168 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9237, allocations: 8 kB / 1.168 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.9243, allocations: 119.8 kB / 1.168 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.9243, allocations: 16.05 kB / 1.168 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.9244, allocations: 31.98 kB / 1.168 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.9244, allocations: 8 kB / 1.168 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.9244, allocations: 11.94 kB / 1.168 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.9264, allocations: 1.352 MB / 1.169 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.9268, allocations: 331.3 kB / 1.17 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.927, allocations: 27.94 kB / 1.17 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.928, allocations: 127.9 kB / 1.17 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.9282, allocations: 59.78 kB / 1.17 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.9283, allocations: 39.97 kB / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001479/0.9298, allocations: 0.8794 MB / 1.171 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9298, allocations: 0 / 1.171 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001335/0.9311, allocations: 291.9 kB / 1.171 GB, free: 364 kB / 0.92 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 (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.003735/0.9349, allocations: 2.138 MB / 1.173 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.9375, allocations: 1.045 MB / 1.174 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9375, allocations: 4 kB / 1.174 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.9384, allocations: 0.5213 MB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.941, allocations: 0.5359 MB / 1.175 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.9541, allocations: 7.146 MB / 1.182 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.9549, allocations: 1.077 MB / 1.183 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001323/0.9562, allocations: 271 kB / 1.183 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.9568, allocations: 366 kB / 1.184 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/0.9568, allocations: 0 / 1.184 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05366/1.011, allocations: 30.62 MB / 1.214 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.011, allocations: 248.4 kB / 1.214 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.403, allocations: 3.938 kB / 1.214 GB, free: 4.203 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)