Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001235, allocations: 177.6 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 94.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 11.03 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6889/0.914, allocations: 162.2 MB / 1.059 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009588/0.9236, allocations: 6.365 MB / 1.065 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.9253, allocations: 39.25 kB / 1.065 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.9279, allocations: 0.6706 MB / 1.065 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.9337, allocations: 1.756 MB / 1.067 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.9379, allocations: 1.539 MB / 1.069 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003944/0.9418, allocations: 1.675 MB / 1.07 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.9437, allocations: 0.695 MB / 1.071 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.9465, allocations: 0.8414 MB / 1.072 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.9488, allocations: 0.6005 MB / 1.072 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005627/0.9493, allocations: 44.47 kB / 1.072 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.955, allocations: 1.169 MB / 1.074 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.9564, allocations: 290.4 kB / 1.074 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.9577, allocations: 234.9 kB / 1.074 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.9615, allocations: 1.564 MB / 1.076 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9615, allocations: 4 kB / 1.076 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9615, allocations: 0 / 1.076 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.9616, allocations: 0 / 1.076 GB, free: 19.54 MB / 0.7136 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.004345/0.9659, allocations: 1.405 MB / 1.077 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.966, allocations: 9.438 kB / 1.077 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.9662, allocations: 112.3 kB / 1.077 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/0.9694, allocations: 0.6034 MB / 1.078 GB, free: 18.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.9715, allocations: 0.9257 MB / 1.079 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/0.9727, allocations: 318.3 kB / 1.079 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.9729, allocations: 65.88 kB / 1.079 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.9754, allocations: 1.169 MB / 1.08 GB, free: 18.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.9755, allocations: 1.312 kB / 1.08 GB, free: 18.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.9756, allocations: 31.5 kB / 1.08 GB, free: 18.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.9756, allocations: 30.94 kB / 1.08 GB, free: 18.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/0.979, allocations: 1.323 MB / 1.081 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00663/0.9857, allocations: 3.094 MB / 1.084 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.9875, allocations: 0.7373 MB / 1.085 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.9881, allocations: 0.6702 MB / 1.086 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.9892, allocations: 0.5363 MB / 1.086 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.507e-06/0.9893, allocations: 0.9375 kB / 1.086 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.003438/0.9927, allocations: 1.368 MB / 1.088 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.9928, allocations: 114 kB / 1.088 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.995, allocations: 1.222 MB / 1.089 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.9952, allocations: 39.3 kB / 1.089 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.9956, allocations: 424 kB / 1.089 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.9958, allocations: 200 kB / 1.09 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.9958, allocations: 9.594 kB / 1.09 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.996, allocations: 339.4 kB / 1.09 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.9973, allocations: 0.4935 MB / 1.09 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.9987, allocations: 0.6356 MB / 1.091 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/1, allocations: 0.5527 MB / 1.092 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1, allocations: 0 / 1.092 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003356/1.003, allocations: 1.308 MB / 1.093 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/1.004, allocations: 39.36 kB / 1.093 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.004, allocations: 3.312 kB / 1.093 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.004, allocations: 4.906 kB / 1.093 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/1.005, allocations: 215.3 kB / 1.093 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/1.005, allocations: 12.25 kB / 1.093 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.007, allocations: 303 kB / 1.093 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.007, allocations: 43.17 kB / 1.093 GB, free: 14.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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.0007583/1.007, allocations: 334.5 kB / 1.094 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/1.008, allocations: 119.5 kB / 1.094 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/1.01, allocations: 1.064 MB / 1.095 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/1.01, allocations: 7.719 kB / 1.095 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.01, allocations: 0 / 1.095 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.01, allocations: 3.094 kB / 1.095 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/1.015, allocations: 3.234 MB / 1.098 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.015, allocations: 8.094 kB / 1.098 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/1.015, allocations: 135.1 kB / 1.098 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/1.015, allocations: 15.11 kB / 1.098 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/1.016, allocations: 23.25 kB / 1.098 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-05/1.016, allocations: 21.34 kB / 1.098 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.016, allocations: 12.33 kB / 1.098 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/1.018, allocations: 1.737 MB / 1.1 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/1.019, allocations: 335.6 kB / 1.1 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/1.019, allocations: 26.69 kB / 1.1 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.02, allocations: 134.1 kB / 1.1 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.02, allocations: 57.47 kB / 1.101 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.02, allocations: 47.5 kB / 1.101 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001695/1.022, allocations: 0.8842 MB / 1.101 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.022, allocations: 0 / 1.101 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001345/1.023, allocations: 307 kB / 1.102 GB, free: 12.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * 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.003944/1.027, allocations: 4.692 MB / 1.106 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002587/1.03, allocations: 1.079 MB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/1.03, allocations: 6 kB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009871/1.031, allocations: 0.5412 MB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/1.034, allocations: 0.5304 MB / 1.108 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.051, allocations: 8.792 MB / 1.117 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/1.052, allocations: 1.092 MB / 1.118 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001681/1.054, allocations: 287.3 kB / 1.118 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/1.054, allocations: 365.9 kB / 1.119 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of SimCode: time 2.314e-06/1.054, allocations: 0 / 1.119 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05919/1.113, allocations: 31.15 MB / 1.149 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/1.114, allocations: 251.2 kB / 1.149 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.141, allocations: 0 / 1.149 GB, free: 0.6953 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)