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.546/1.546, allocations: 252 MB / 267.3 MB, free: 10.86 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.00102/0.00102, allocations: 178.3 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0007504/0.0007505, allocations: 96.3 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 11.58 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 106.4 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6113/0.8346, allocations: 189.3 MB / 1.086 GB, free: 1.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009105/0.8438, allocations: 6.995 MB / 1.093 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.845, allocations: 38.09 kB / 1.093 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.8462, allocations: 0.5539 MB / 1.093 GB, free: 1.352 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.8508, allocations: 2.202 MB / 1.095 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.8536, allocations: 1.278 MB / 1.097 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003586/0.8572, allocations: 3.709 MB / 1.1 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.8583, allocations: 0.7514 MB / 1.101 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.8596, allocations: 0.9419 MB / 1.102 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.8613, allocations: 0.8592 MB / 1.103 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.8614, allocations: 44.66 kB / 1.103 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.8651, allocations: 2.219 MB / 1.105 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.8655, allocations: 312.1 kB / 1.105 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.8661, allocations: 0.5543 MB / 1.106 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.869, allocations: 2.411 MB / 1.108 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.869, allocations: 0 / 1.108 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8691, allocations: 0 / 1.108 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.8691, allocations: 0 / 1.108 GB, free: 16.87 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.00306/0.8721, allocations: 1.41 MB / 1.11 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8722, allocations: 8.406 kB / 1.11 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.8723, allocations: 113.2 kB / 1.11 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.875, allocations: 0.606 MB / 1.11 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.8769, allocations: 1 MB / 1.111 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/0.8781, allocations: 321.3 kB / 1.112 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.8782, allocations: 65.97 kB / 1.112 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.8809, allocations: 1.175 MB / 1.113 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.881, allocations: 0 / 1.113 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.8811, allocations: 28.38 kB / 1.113 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.8811, allocations: 36.06 kB / 1.113 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.8847, allocations: 1.326 MB / 1.114 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005418/0.8901, allocations: 3.083 MB / 1.117 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.8918, allocations: 0.7316 MB / 1.118 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.8926, allocations: 451.3 kB / 1.118 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008768/0.8935, allocations: 1.034 MB / 1.119 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009773/0.8945, allocations: 0.5392 MB / 1.12 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.054e-06/0.8945, allocations: 3.938 kB / 1.12 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002846/0.8974, allocations: 1.288 MB / 1.121 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.8974, allocations: 118.1 kB / 1.121 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.8993, allocations: 1.217 MB / 1.122 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.8994, allocations: 36.23 kB / 1.122 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.8998, allocations: 436.5 kB / 1.123 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.9, allocations: 197 kB / 1.123 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.9, allocations: 12.47 kB / 1.123 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9001, allocations: 332.9 kB / 1.123 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.9015, allocations: 498.9 kB / 1.124 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.9033, allocations: 0.6432 MB / 1.124 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/0.906, allocations: 0.9949 MB / 1.125 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.906, allocations: 1.031 kB / 1.125 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004218/0.9102, allocations: 1.326 MB / 1.127 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.9103, allocations: 42.05 kB / 1.127 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.9103, allocations: 1.719 kB / 1.127 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.9104, allocations: 5.188 kB / 1.127 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9117, allocations: 215.5 kB / 1.127 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.9117, allocations: 6.156 kB / 1.127 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.9138, allocations: 300.8 kB / 1.127 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.914, allocations: 44.86 kB / 1.127 GB, free: 11.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000612/0.9146, allocations: 322.8 kB / 1.128 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.9148, allocations: 120 kB / 1.128 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.9171, allocations: 1.069 MB / 1.129 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.9171, allocations: 10.25 kB / 1.129 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9171, allocations: 0 / 1.129 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9171, allocations: 2.531 kB / 1.129 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.9222, allocations: 3.233 MB / 1.132 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.9222, allocations: 8.531 kB / 1.132 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.923, allocations: 133.2 kB / 1.132 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.923, allocations: 13.41 kB / 1.132 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.9231, allocations: 30.14 kB / 1.132 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.9231, allocations: 18.17 kB / 1.132 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.9231, allocations: 11.19 kB / 1.132 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.9253, allocations: 1.323 MB / 1.133 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/0.9259, allocations: 334.5 kB / 1.134 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.9261, allocations: 31.61 kB / 1.134 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.9273, allocations: 127.9 kB / 1.134 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.9274, allocations: 63.55 kB / 1.134 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.9275, allocations: 45.05 kB / 1.134 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001656/0.9292, allocations: 0.8799 MB / 1.135 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9292, allocations: 0 / 1.135 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001106/0.9303, allocations: 308.9 kB / 1.135 GB, free: 8.988 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 (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.003202/0.9335, allocations: 2.119 MB / 1.137 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002826/0.9364, allocations: 1.086 MB / 1.138 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.9364, allocations: 1.781 kB / 1.138 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.9374, allocations: 0.5432 MB / 1.139 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/0.9409, allocations: 0.5358 MB / 1.139 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.9587, allocations: 10.41 MB / 1.149 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/0.9595, allocations: 1.073 MB / 1.151 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001259/0.9607, allocations: 288.4 kB / 1.151 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.9613, allocations: 362.3 kB / 1.151 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/0.9613, allocations: 0 / 1.151 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0817/1.043, allocations: 30.61 MB / 1.181 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.043, allocations: 279.1 kB / 1.181 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.755/5.798, allocations: 2.344 kB / 1.181 GB, free: 3.797 MB / 0.7448 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)