Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",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.627/1.627, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001228/0.001228, allocations: 186.8 kB / 326.5 MB, free: 2.23 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.063/2.063, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.001327/0.001327, allocations: 82.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 11.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.3906, allocations: 133.5 MB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3909, allocations: 71.97 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.4103, allocations: 5.053 MB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4103, allocations: 0 / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.4103, allocations: 4 kB / 1.036 GB, free: 4.973 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007174/0.4111, allocations: 438.7 kB / 1.036 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4111, allocations: 12.03 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.769e-05/0.4112, allocations: 42.55 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.4121, allocations: 115.7 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.4123, allocations: 183.4 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.4124, allocations: 67.41 kB / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.4125, allocations: 4 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.4132, allocations: 193.5 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4133, allocations: 0 / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.4133, allocations: 0 / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4133, allocations: 7.953 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.4142, allocations: 199.8 kB / 1.037 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.4156, allocations: 0.494 MB / 1.037 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.417, allocations: 266.3 kB / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.4171, allocations: 12.09 kB / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.4171, allocations: 38.56 kB / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.4171, allocations: 0 / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001392/0.4185, allocations: 309.5 kB / 1.038 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4186, allocations: 51.41 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4188, allocations: 134.9 kB / 1.038 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.4188, allocations: 25.7 kB / 1.038 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.4189, allocations: 116.1 kB / 1.038 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.419, allocations: 23.64 kB / 1.038 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.419, allocations: 0 / 1.038 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4191, allocations: 322.8 kB / 1.038 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.4195, allocations: 91.92 kB / 1.039 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.4199, allocations: 114.4 kB / 1.039 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.4203, allocations: 95.86 kB / 1.039 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4204, allocations: 0 / 1.039 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009155/0.4213, allocations: 237.4 kB / 1.039 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4213, allocations: 10.19 kB / 1.039 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4213, allocations: 0 / 1.039 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4214, allocations: 0 / 1.039 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.4217, allocations: 43.95 kB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4217, allocations: 0 / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.422, allocations: 39.95 kB / 1.039 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.422, allocations: 7.953 kB / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001454/0.4222, allocations: 113.8 kB / 1.039 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.4223, allocations: 7.906 kB / 1.039 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009092/0.4232, allocations: 242.2 kB / 1.039 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4232, allocations: 0 / 1.039 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4232, allocations: 0 / 1.039 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4232, allocations: 4 kB / 1.039 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.4236, allocations: 246.2 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4236, allocations: 0 / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.4239, allocations: 36.33 kB / 1.04 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.4239, allocations: 4 kB / 1.04 GB, free: 404 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4239, allocations: 3.984 kB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.4239, allocations: 4 kB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4239, allocations: 0 / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.4249, allocations: 323.2 kB / 1.04 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.425, allocations: 88.94 kB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.4251, allocations: 8 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.4255, allocations: 43.95 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.4256, allocations: 0 / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.4256, allocations: 7.984 kB / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001027/0.4257, allocations: 109.5 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4257, allocations: 4 kB / 1.04 GB, free: 15.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004315/0.4262, allocations: 27.95 kB / 1.04 GB, free: 15.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.001236/0.4274, allocations: 0.8489 MB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000846/0.4283, allocations: 199.8 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4283, allocations: 8.062 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.4287, allocations: 99.86 kB / 1.041 GB, free: 14.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4291, allocations: 15.97 kB / 1.041 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.4305, allocations: 0.806 MB / 1.042 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4309, allocations: 0.7004 MB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.4311, allocations: 23.92 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4312, allocations: 31.42 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of SimCode: time 3.536e-06/0.4312, allocations: 0 / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.4481, allocations: 2.402 MB / 1.045 GB, free: 10.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.4484, allocations: 189.4 kB / 1.046 GB, free: 10.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.058, allocations: 4 kB / 1.046 GB, free: 10.39 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)