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.001186/0.001186, allocations: 100.1 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.001458/0.001458, allocations: 177.3 kB / 15.95 MB, free: 216 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.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.387 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.365/2.365, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003238, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7956, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1868/0.9824, allocations: 162 MB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.9928, allocations: 6.294 MB / 1.118 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.9942, allocations: 39.69 kB / 1.118 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.9966, allocations: 0.6649 MB / 1.119 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005201/1.002, allocations: 1.679 MB / 1.12 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/1.006, allocations: 1.535 MB / 1.122 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003169/1.009, allocations: 1.708 MB / 1.123 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/1.01, allocations: 0.7092 MB / 1.124 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/1.012, allocations: 0.9071 MB / 1.125 GB, free: 252 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/1.012, allocations: 0.5367 MB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.515e-05/1.012, allocations: 48 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/1.015, allocations: 1.162 MB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/1.015, allocations: 287 kB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/1.015, allocations: 245.1 kB / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/1.017, allocations: 1.539 MB / 1.129 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/1.017, allocations: 0 / 1.129 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.306e-06/1.017, allocations: 0 / 1.129 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.325e-05/1.017, allocations: 3.938 kB / 1.129 GB, free: 12.42 MB / 0.8887 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.002962/1.02, allocations: 1.387 MB / 1.13 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.02, allocations: 12.03 kB / 1.13 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/1.02, allocations: 118.5 kB / 1.13 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/1.023, allocations: 0.5918 MB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/1.025, allocations: 0.9135 MB / 1.132 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/1.026, allocations: 325 kB / 1.132 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/1.027, allocations: 68 kB / 1.132 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/1.029, allocations: 1.14 MB / 1.133 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.029, allocations: 7.891 kB / 1.133 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/1.029, allocations: 35.98 kB / 1.133 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/1.029, allocations: 29.31 kB / 1.133 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/1.032, allocations: 1.246 MB / 1.134 GB, free: 6.418 MB / 0.8887 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.006067/1.038, allocations: 3.256 MB / 1.138 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/1.04, allocations: 0.7113 MB / 1.138 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/1.041, allocations: 0.6653 MB / 1.139 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009855/1.042, allocations: 0.5221 MB / 1.139 GB, free: 1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=57): time 2.855e-06/1.042, allocations: 4 kB / 1.139 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=57): time 0.002992/1.045, allocations: 1.32 MB / 1.141 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/1.045, allocations: 140.9 kB / 1.141 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/1.047, allocations: 1.219 MB / 1.142 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/1.047, allocations: 41.64 kB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/1.047, allocations: 437.4 kB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/1.047, allocations: 185.3 kB / 1.143 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/1.047, allocations: 16 kB / 1.143 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.047, allocations: 333.9 kB / 1.143 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/1.049, allocations: 480.9 kB / 1.144 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.05, allocations: 0.6328 MB / 1.144 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/1.052, allocations: 0.535 MB / 1.145 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.052, allocations: 4 kB / 1.145 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003316/1.055, allocations: 1.287 MB / 1.146 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/1.055, allocations: 41.69 kB / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.055, allocations: 0 / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.055, allocations: 8 kB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.056, allocations: 211.9 kB / 1.146 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/1.056, allocations: 7.984 kB / 1.146 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/1.058, allocations: 306.8 kB / 1.146 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/1.058, allocations: 39.97 kB / 1.147 GB, free: 9.629 MB / 0.9044 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.0006813/1.059, allocations: 327.3 kB / 1.147 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/1.059, allocations: 114.6 kB / 1.147 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/1.061, allocations: 1.018 MB / 1.148 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/1.061, allocations: 4 kB / 1.148 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.061, allocations: 0 / 1.148 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.061, allocations: 7.984 kB / 1.148 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/1.066, allocations: 3.177 MB / 1.151 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.066, allocations: 8 kB / 1.151 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/1.067, allocations: 120 kB / 1.151 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/1.067, allocations: 12 kB / 1.151 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/1.067, allocations: 31.98 kB / 1.151 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/1.067, allocations: 15.89 kB / 1.151 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/1.067, allocations: 11.94 kB / 1.151 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/1.07, allocations: 1.746 MB / 1.153 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/1.07, allocations: 327.4 kB / 1.153 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.07, allocations: 23.98 kB / 1.153 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.072, allocations: 139.7 kB / 1.153 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.072, allocations: 59.78 kB / 1.153 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/1.072, allocations: 39.97 kB / 1.153 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001643/1.073, allocations: 0.8872 MB / 1.154 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.1e-07/1.073, allocations: 0 / 1.154 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001126/1.075, allocations: 291.9 kB / 1.155 GB, free: 0.8164 MB / 0.9044 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.003924/1.078, allocations: 4.648 MB / 1.159 GB, free: 11.95 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002439/1.081, allocations: 1.052 MB / 1.16 GB, free: 10.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.081, allocations: 4 kB / 1.16 GB, free: 10.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009138/1.082, allocations: 0.5125 MB / 1.161 GB, free: 10.35 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.084, allocations: 0.5258 MB / 1.161 GB, free: 9.836 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.098, allocations: 9.045 MB / 1.17 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/1.099, allocations: 1.092 MB / 1.171 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001208/1.1, allocations: 274.8 kB / 1.171 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/1.1, allocations: 359.3 kB / 1.172 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/1.1, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05576/1.156, allocations: 30.89 MB / 1.202 GB, free: 176 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.156, allocations: 238.9 kB / 1.202 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.494, allocations: 6.672 kB / 1.202 GB, free: 15.93 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)