Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 289.7 MB / 302.2 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 182.7 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 86.3 kB / 0.745 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.465e-05/5.497e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3392, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.838/8.177, allocations: 2.315 GB / 3.295 GB, free: 280.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/8.177, allocations: 85.55 kB / 3.295 GB, free: 280.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.766/10.94, allocations: 0.6516 GB / 3.947 GB, free: 139.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.276e-06/10.94, allocations: 1.469 kB / 3.947 GB, free: 139.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001145/10.94, allocations: 36.7 kB / 3.947 GB, free: 139.4 MB / 0.948 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.004611/10.95, allocations: 1.419 MB / 3.948 GB, free: 138.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/10.95, allocations: 9.125 kB / 3.948 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/10.95, allocations: 114.5 kB / 3.948 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/10.95, allocations: 0.5331 MB / 3.949 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/10.98, allocations: 13.06 MB / 3.961 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/10.98, allocations: 331 kB / 3.962 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/10.98, allocations: 67.06 kB / 3.962 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/10.98, allocations: 0.9711 MB / 3.963 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/10.98, allocations: 1.906 kB / 3.963 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/10.98, allocations: 28.66 kB / 3.963 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/10.98, allocations: 32.81 kB / 3.963 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/10.98, allocations: 0.8612 MB / 3.964 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006314/10.99, allocations: 3.266 MB / 3.967 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/10.99, allocations: 0.6047 MB / 3.967 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/10.99, allocations: 370.9 kB / 3.968 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/10.99, allocations: 1.03 MB / 3.969 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008353/10.99, allocations: 491.8 kB / 3.969 GB, free: 135.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.457e-06/10.99, allocations: 0 / 3.969 GB, free: 135.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002177/11, allocations: 0.8313 MB / 3.97 GB, free: 135.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/11, allocations: 170.8 kB / 3.97 GB, free: 135.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/11, allocations: 0.9471 MB / 3.971 GB, free: 135.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/11, allocations: 43.86 kB / 3.971 GB, free: 135.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/11, allocations: 429.1 kB / 3.972 GB, free: 135.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/11, allocations: 203.3 kB / 3.972 GB, free: 135.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/11, allocations: 9.219 kB / 3.972 GB, free: 135.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/11, allocations: 330.5 kB / 3.972 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/11, allocations: 305.6 kB / 3.972 GB, free: 134.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/11, allocations: 0.5016 MB / 3.973 GB, free: 134.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/11, allocations: 391 kB / 3.973 GB, free: 134.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/11, allocations: 0 / 3.973 GB, free: 134.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00178/11, allocations: 0.9506 MB / 3.974 GB, free: 134.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/11, allocations: 43.84 kB / 3.974 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/11, allocations: 3.188 kB / 3.974 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/11, allocations: 6.5 kB / 3.974 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/11, allocations: 218 kB / 3.974 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/11, allocations: 9.438 kB / 3.974 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/11.01, allocations: 308.4 kB / 3.975 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/11.01, allocations: 49.27 kB / 3.975 GB, free: 134.5 MB / 0.948 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 () * 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.0002568/11.01, allocations: 178.3 kB / 3.975 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/11.01, allocations: 118.1 kB / 3.975 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/11.01, allocations: 0.9184 MB / 3.976 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/11.01, allocations: 8.25 kB / 3.976 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/11.01, allocations: 3.812 kB / 3.976 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/11.01, allocations: 9.266 kB / 3.976 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/11.01, allocations: 3.244 MB / 3.979 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/11.01, allocations: 6.594 kB / 3.979 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/11.01, allocations: 128.4 kB / 3.979 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/11.01, allocations: 9.906 kB / 3.979 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/11.01, allocations: 34.55 kB / 3.979 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/11.01, allocations: 16.97 kB / 3.979 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/11.01, allocations: 15.38 kB / 3.979 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/11.02, allocations: 1.705 MB / 3.981 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/11.02, allocations: 332 kB / 3.981 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/11.02, allocations: 20.78 kB / 3.981 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/11.02, allocations: 135.2 kB / 3.982 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/11.02, allocations: 67.62 kB / 3.982 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/11.02, allocations: 42.95 kB / 3.982 GB, free: 132.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00108/11.02, allocations: 0.7404 MB / 3.982 GB, free: 131.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/11.02, allocations: 0 / 3.982 GB, free: 131.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001869/11.02, allocations: 435.9 kB / 3.983 GB, free: 131.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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) * 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.004679/11.03, allocations: 5.963 MB / 3.989 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001397/11.03, allocations: 0.8255 MB / 3.989 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/11.03, allocations: 0 / 3.989 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/11.03, allocations: 484.2 kB / 3.99 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/11.03, allocations: 0.5227 MB / 3.99 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/11.03, allocations: 1.85 MB / 3.992 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/11.04, allocations: 1.1 MB / 3.993 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001185/11.04, allocations: 284 kB / 3.994 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/11.04, allocations: 365.2 kB / 3.994 GB, free: 126.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/11.04, allocations: 0 / 3.994 GB, free: 126.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/11.15, allocations: 55.2 MB / 4.048 GB, free: 124.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/11.15, allocations: 215.2 kB / 4.048 GB, free: 124.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.836/14.99, allocations: 0 / 4.048 GB, free: 124.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)