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.66/1.66, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001335/0.001335, allocations: 176.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009296/0.0009296, allocations: 87.62 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.169e-05/4.183e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8176, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.838/7.656, allocations: 2.314 GB / 3.288 GB, free: 178.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/7.656, allocations: 79.95 kB / 3.288 GB, free: 178.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.633/10.29, allocations: 0.6451 GB / 3.933 GB, free: 192.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.993e-06/10.29, allocations: 3.172 kB / 3.933 GB, free: 192.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.637e-05/10.29, allocations: 37.66 kB / 3.933 GB, free: 192.2 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.003748/10.29, allocations: 1.414 MB / 3.934 GB, free: 191.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/10.29, allocations: 11.94 kB / 3.934 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/10.3, allocations: 0.5384 MB / 3.935 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0263/10.32, allocations: 13.02 MB / 3.948 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/10.32, allocations: 289.2 kB / 3.948 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/10.32, allocations: 44.66 kB / 3.948 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/10.33, allocations: 0.7538 MB / 3.949 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/10.33, allocations: 0.8845 MB / 3.949 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/10.33, allocations: 0 / 3.949 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/10.33, allocations: 7.734 kB / 3.949 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/10.33, allocations: 40.12 kB / 3.949 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/10.33, allocations: 3.112 MB / 3.953 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/10.33, allocations: 0.578 MB / 3.953 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/10.33, allocations: 355.5 kB / 3.953 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/10.34, allocations: 1.032 MB / 3.954 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/10.34, allocations: 476.8 kB / 3.955 GB, free: 188.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 4.318e-06/10.34, allocations: 1.875 kB / 3.955 GB, free: 188.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.001897/10.34, allocations: 0.8048 MB / 3.956 GB, free: 188.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/10.34, allocations: 132.8 kB / 3.956 GB, free: 188.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/10.34, allocations: 0.6576 MB / 3.956 GB, free: 188.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/10.34, allocations: 28.86 kB / 3.956 GB, free: 188.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/10.34, allocations: 457.1 kB / 3.957 GB, free: 187.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/10.34, allocations: 187.2 kB / 3.957 GB, free: 187.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/10.34, allocations: 3.172 kB / 3.957 GB, free: 187.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/10.34, allocations: 330 kB / 3.957 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/10.34, allocations: 309.1 kB / 3.958 GB, free: 187.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/10.34, allocations: 0.5101 MB / 3.958 GB, free: 187.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/10.34, allocations: 417.1 kB / 3.959 GB, free: 187.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/10.34, allocations: 0 / 3.959 GB, free: 187.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001692/10.34, allocations: 0.9494 MB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/10.34, allocations: 37.52 kB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/10.34, allocations: 3.344 kB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/10.34, allocations: 11.91 kB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/10.34, allocations: 227.5 kB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/10.34, allocations: 7.25 kB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/10.35, allocations: 269.3 kB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/10.35, allocations: 48.28 kB / 3.96 GB, free: 187.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002275/10.35, allocations: 165.8 kB / 3.96 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001299/10.35, allocations: 0.7789 MB / 3.961 GB, free: 187 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/10.35, allocations: 92.44 kB / 3.961 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/10.35, allocations: 0.8678 MB / 3.962 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/10.35, allocations: 3.688 kB / 3.962 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/10.35, allocations: 3.938 kB / 3.962 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/10.35, allocations: 5.875 kB / 3.962 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/10.35, allocations: 3.027 MB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/10.35, allocations: 7.281 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/10.35, allocations: 132.7 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/10.35, allocations: 12.97 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/10.35, allocations: 30.58 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/10.35, allocations: 15.55 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/10.35, allocations: 11.5 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/10.36, allocations: 1.6 MB / 3.967 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/10.36, allocations: 306.9 kB / 3.967 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/10.36, allocations: 17.47 kB / 3.967 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/10.36, allocations: 116.3 kB / 3.967 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/10.36, allocations: 66.67 kB / 3.967 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-05/10.36, allocations: 47.14 kB / 3.967 GB, free: 184.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006048/10.36, allocations: 0.5028 MB / 3.968 GB, free: 184.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/10.36, allocations: 0 / 3.968 GB, free: 184.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001667/10.36, allocations: 410.9 kB / 3.968 GB, free: 184.8 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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.004898/10.36, allocations: 5.953 MB / 3.974 GB, free: 180.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001306/10.37, allocations: 0.8196 MB / 3.975 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/10.37, allocations: 2.844 kB / 3.975 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005391/10.37, allocations: 471.6 kB / 3.975 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/10.37, allocations: 353.1 kB / 3.976 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/10.37, allocations: 1.729 MB / 3.977 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/10.37, allocations: 1.088 MB / 3.978 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001116/10.37, allocations: 261.4 kB / 3.979 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/10.37, allocations: 355.1 kB / 3.979 GB, free: 179.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.504e-06/10.37, allocations: 0 / 3.979 GB, free: 179.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06841/10.44, allocations: 34.02 MB / 4.012 GB, free: 172.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/10.44, allocations: 189.6 kB / 4.012 GB, free: 172.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/13.72, allocations: 0 / 4.012 GB, free: 172.3 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)