Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Examples.Performance.Example8,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example8",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.001321/0.001321, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 189 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 68.53 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2176, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001758/0.2194, allocations: 0.5298 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001247/0.2195, allocations: 11.97 kB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.2196, allocations: 0 / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.2196, allocations: 3.938 kB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.2197, allocations: 4 kB / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.2197, allocations: 4 kB / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.533e-05/0.2198, allocations: 3.984 kB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.2199, allocations: 0 / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.2199, allocations: 4 kB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.2199, allocations: 0 / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2199, allocations: 7.938 kB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-06/0.2199, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.22, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.22, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.81e-05/0.22, allocations: 3.984 kB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.22, allocations: 7.938 kB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2201, allocations: 0 / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2201, allocations: 0 / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002864/0.2204, allocations: 319.5 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2204, allocations: 8.031 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2204, allocations: 34.75 kB / 0.7845 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.2205, allocations: 0.9375 kB / 0.7845 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2206, allocations: 160.4 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2206, allocations: 4.375 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.2206, allocations: 384 / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.2207, allocations: 43.97 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2208, allocations: 3.938 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2208, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2208, allocations: 4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.2208, allocations: 7.938 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.221, allocations: 158.5 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.221, allocations: 41.16 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.2211, allocations: 13.84 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2211, allocations: 4 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2211, allocations: 34.56 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2211, allocations: 0 / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.2213, allocations: 49.56 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2213, allocations: 77.11 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.585e-05/0.2214, allocations: 89.86 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2214, allocations: 25.95 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.2214, allocations: 84.14 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.2215, allocations: 12.12 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.2215, allocations: 13.72 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2216, allocations: 310.8 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.2216, allocations: 7.984 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.2217, allocations: 17.72 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.2217, allocations: 21.72 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2217, allocations: 4 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.971e-05/0.2218, allocations: 41.64 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2218, allocations: 7.984 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2218, allocations: 3.938 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2218, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.2219, allocations: 4 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2219, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.2219, allocations: 8.062 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2219, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.744e-05/0.222, allocations: 106.5 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.222, allocations: 11.89 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2222, allocations: 52.69 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2222, allocations: 0 / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2222, allocations: 3.938 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2222, allocations: 4.062 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.563e-05/0.2223, allocations: 153.7 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2223, allocations: 0 / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.2223, allocations: 4 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2223, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2223, allocations: 7.875 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2224, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2224, allocations: 4 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.435e-05/0.2224, allocations: 73.92 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.2225, allocations: 77.11 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2225, allocations: 3.938 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.2225, allocations: 4 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.2225, allocations: 3.984 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.2226, allocations: 0 / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.2226, allocations: 75.28 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2226, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001861/0.2228, allocations: 8.031 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003569/0.2232, allocations: 0.6054 MB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.425e-05/0.2232, allocations: 4 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2232, allocations: 8.156 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.2233, allocations: 7.938 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2234, allocations: 0 / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.2237, allocations: 123.4 kB / 0.787 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.224, allocations: 0.669 MB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.895e-05/0.224, allocations: 0 / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.224, allocations: 19.55 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.224, allocations: 4 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.2405, allocations: 0.9074 MB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.076, allocations: 12.81 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)