Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.001758/0.001759, allocations: 103.3 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.00155, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.766/1.766, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.938/0.938, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 66.64 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2947, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.007144/0.3019, allocations: 1.759 MB / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3046, allocations: 0.6593 MB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.305, allocations: 0 / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.3052, allocations: 11.86 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.3054, allocations: 19.8 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.3068, allocations: 178.2 kB / 0.6342 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.3073, allocations: 119.7 kB / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.3077, allocations: 49.11 kB / 0.6343 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.308, allocations: 63.7 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.3082, allocations: 47.77 kB / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.3083, allocations: 12 kB / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.3086, allocations: 47.97 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.3087, allocations: 31.89 kB / 0.6345 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3089, allocations: 59.7 kB / 0.6346 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.3094, allocations: 142.4 kB / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3094, allocations: 3.938 kB / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3095, allocations: 0 / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.3095, allocations: 0 / 0.6347 GB, free: 1.66 MB / 478.1 MB 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.001406/0.3109, allocations: 443.8 kB / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001036/0.311, allocations: 16.03 kB / 0.6351 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.3112, allocations: 38.73 kB / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.3124, allocations: 108.7 kB / 0.6353 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3128, allocations: 184.1 kB / 0.6355 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.313, allocations: 59.95 kB / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.3131, allocations: 16.38 kB / 0.6355 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.3139, allocations: 171 kB / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3139, allocations: 0 / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.314, allocations: 8 kB / 0.6357 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.314, allocations: 0 / 0.6357 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.3149, allocations: 159.8 kB / 0.6359 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3166, allocations: 497.5 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3181, allocations: 214.3 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.3185, allocations: 80.91 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.3186, allocations: 0 / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.3186, allocations: 42.55 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.3186, allocations: 3.938 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001474/0.3201, allocations: 257.5 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.3202, allocations: 51.41 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.3205, allocations: 147.5 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.3206, allocations: 29.7 kB / 0.6371 GB, free: 14.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3207, allocations: 108.2 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3208, allocations: 19.66 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3209, allocations: 25.7 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.3212, allocations: 322.8 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.3216, allocations: 71.92 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.3221, allocations: 94.48 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.3229, allocations: 170.6 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3229, allocations: 0 / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009628/0.3239, allocations: 201.4 kB / 0.6381 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.3239, allocations: 4 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.324, allocations: 3.938 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.324, allocations: 4 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.3244, allocations: 39.89 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3244, allocations: 4 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3247, allocations: 23.97 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.3247, allocations: 7.984 kB / 0.6382 GB, free: 13.85 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.3249, allocations: 117.8 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.325, allocations: 19.83 kB / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.326, allocations: 206.1 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.326, allocations: 0 / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.3261, allocations: 3.938 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3261, allocations: 3.938 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.3265, allocations: 234.3 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3265, allocations: 4 kB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3268, allocations: 27.95 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.3269, allocations: 8 kB / 0.6388 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3269, allocations: 3.938 kB / 0.6388 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3269, allocations: 3.984 kB / 0.6388 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3269, allocations: 0 / 0.6388 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/0.3279, allocations: 283.5 kB / 0.6391 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.328, allocations: 89 kB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.3281, allocations: 7.938 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.3285, allocations: 27.95 kB / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.3286, allocations: 8 kB / 0.6392 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.3286, allocations: 11.92 kB / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3287, allocations: 110.3 kB / 0.6393 GB, free: 12.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3287, allocations: 0 / 0.6393 GB, free: 12.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.3292, allocations: 20 kB / 0.6393 GB, free: 12.58 MB / 494.1 MB 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 (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.0015/0.3307, allocations: 0.8176 MB / 0.6401 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009398/0.3316, allocations: 167.8 kB / 0.6403 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3317, allocations: 4.125 kB / 0.6403 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.3321, allocations: 75.92 kB / 0.6403 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.3326, allocations: 13.88 kB / 0.6404 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.3374, allocations: 1.839 MB / 0.6422 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3379, allocations: 0.6963 MB / 0.6428 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.338, allocations: 16 kB / 0.6429 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3382, allocations: 31.42 kB / 0.6429 GB, free: 8.789 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3382, allocations: 0 / 0.6429 GB, free: 8.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.3764, allocations: 2.78 MB / 0.6456 GB, free: 6.078 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/14.78, allocations: 15.94 kB / 0.6456 GB, free: 6.062 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)