Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Discrete_Examples_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Discrete_Examples_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.805/1.805, allocations: 288.2 MB / 303.2 MB, free: 8.281 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.001179/0.001179, allocations: 173.1 kB / 371.8 MB, free: 10.29 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.88/1.88, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00095/0.0009501, allocations: 83.86 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006977/0.0006978, allocations: 10.53 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2717, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8115/1.083, allocations: 138.3 MB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/1.084, allocations: 75.25 kB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005312/1.089, allocations: 1.629 MB / 1.116 GB, free: 32.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/1.089, allocations: 0 / 1.116 GB, free: 32.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.089, allocations: 0 / 1.116 GB, free: 32.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004316/1.09, allocations: 395.7 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.09, allocations: 15.67 kB / 1.117 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/1.09, allocations: 41.06 kB / 1.117 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/1.09, allocations: 7.781 kB / 1.117 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/1.09, allocations: 182 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.09, allocations: 7.25 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.09, allocations: 6.766 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/1.09, allocations: 68.34 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.09, allocations: 0.875 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.09, allocations: 3.375 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.09, allocations: 0 / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/1.09, allocations: 46.72 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/1.091, allocations: 299.7 kB / 1.117 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/1.091, allocations: 74.47 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/1.091, allocations: 0 / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/1.091, allocations: 121.1 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/1.091, allocations: 0 / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004288/1.092, allocations: 295 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.092, allocations: 116.9 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/1.092, allocations: 106.3 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/1.092, allocations: 29.52 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/1.092, allocations: 86.12 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/1.092, allocations: 29.64 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/1.092, allocations: 3.938 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.092, allocations: 328.2 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/1.092, allocations: 35.38 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/1.092, allocations: 108.7 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/1.092, allocations: 86 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.092, allocations: 0 / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002617/1.093, allocations: 205.6 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.093, allocations: 35.08 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.093, allocations: 3.875 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.093, allocations: 3.969 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.093, allocations: 21.17 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.093, allocations: 17.05 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/1.093, allocations: 18.47 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.093, allocations: 11.69 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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.0001272/1.093, allocations: 167.5 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/1.093, allocations: 11.56 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/1.093, allocations: 5.828 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.093, allocations: 0 / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.093, allocations: 96 / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.093, allocations: 7.938 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/1.093, allocations: 187.4 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.093, allocations: 5.438 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/1.093, allocations: 9.375 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.093, allocations: 0 / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/1.093, allocations: 3.969 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.093, allocations: 1.812 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.093, allocations: 0 / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/1.094, allocations: 237.8 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/1.094, allocations: 81.11 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/1.094, allocations: 9.328 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/1.094, allocations: 8.547 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/1.094, allocations: 5.219 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.094, allocations: 1.547 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.09e-05/1.094, allocations: 91.3 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002073/1.094, allocations: 22.06 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0005942/1.095, allocations: 0.7793 MB / 1.12 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002581/1.095, allocations: 178.7 kB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.095, allocations: 3.938 kB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.095, allocations: 189.9 kB / 1.121 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/1.095, allocations: 13.08 kB / 1.121 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.096, allocations: 1.797 MB / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/1.096, allocations: 0.6923 MB / 1.123 GB, free: 25.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.624e-05/1.097, allocations: 7.312 kB / 1.123 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/1.097, allocations: 21.03 kB / 1.123 GB, free: 25.98 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/1.097, allocations: 0 / 1.123 GB, free: 25.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/1.108, allocations: 1.815 MB / 1.125 GB, free: 25.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.108, allocations: 212.3 kB / 1.125 GB, free: 25.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.629, allocations: 0 / 1.125 GB, free: 25.54 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Discrete_Examples_MovingMean_fmu --startTime=-0.5 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Discrete_Examples_MovingMean.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)