Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.001689/0.001689, allocations: 107.9 kB / 16.4 MB, free: 6.438 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.002283/0.002283, allocations: 193.2 kB / 17.34 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.065/2.065, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.031/1.031, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.81 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2549, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003689/0.2586, allocations: 1.452 MB / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005917/0.2592, allocations: 148.4 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.2593, allocations: 0 / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.59e-05/0.2594, allocations: 3.938 kB / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2596, allocations: 11.94 kB / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.26, allocations: 31.91 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.2602, allocations: 39.91 kB / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.2604, allocations: 19.98 kB / 0.6333 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.2605, allocations: 23.92 kB / 0.6333 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.2606, allocations: 23.86 kB / 0.6333 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.2607, allocations: 4 kB / 0.6333 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.2608, allocations: 31.97 kB / 0.6333 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.2609, allocations: 8 kB / 0.6333 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.261, allocations: 19.86 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2612, allocations: 59.86 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.2612, allocations: 0 / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2612, allocations: 0 / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2613, allocations: 0 / 0.6334 GB, free: 3.012 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000778/0.262, allocations: 363.1 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.2621, allocations: 8.031 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.2622, allocations: 42.69 kB / 0.6338 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.264, allocations: 212.4 kB / 0.634 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.2642, allocations: 176.2 kB / 0.6342 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2643, allocations: 8.359 kB / 0.6342 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.2643, allocations: 8.359 kB / 0.6342 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008813/0.2652, allocations: 190 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2652, allocations: 3.938 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.2653, allocations: 0 / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2653, allocations: 4 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.2667, allocations: 287.5 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2681, allocations: 429.4 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.2698, allocations: 286.2 kB / 0.6353 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.2704, allocations: 100.8 kB / 0.6354 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2704, allocations: 0 / 0.6354 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2704, allocations: 38.5 kB / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.2705, allocations: 0 / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001886/0.2724, allocations: 305.3 kB / 0.6358 GB, free: 436 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.2724, allocations: 55.41 kB / 0.6358 GB, free: 368 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2726, allocations: 125.8 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2726, allocations: 25.7 kB / 0.636 GB, free: 200 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.2727, allocations: 92.08 kB / 0.6361 GB, free: 104 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.2728, allocations: 11.81 kB / 0.6361 GB, free: 92 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.2729, allocations: 17.7 kB / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2731, allocations: 322.8 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/0.2737, allocations: 91.88 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.2742, allocations: 103.8 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2753, allocations: 172.6 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.2753, allocations: 0 / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001188/0.2765, allocations: 209.5 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.2766, allocations: 8 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2766, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.2766, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.277, allocations: 39.88 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.2771, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.2774, allocations: 31.95 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2774, allocations: 4 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001874/0.2776, allocations: 125.7 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.2777, allocations: 7.906 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.2778, allocations: 7.906 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2778, allocations: 4 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.2778, allocations: 0 / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.2778, allocations: 0 / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.2782, allocations: 213.9 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2782, allocations: 0 / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.2786, allocations: 35.94 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2786, allocations: 4 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2786, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2786, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2787, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.28, allocations: 319.1 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.2801, allocations: 81.47 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.2802, allocations: 7.938 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.2806, allocations: 27.95 kB / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.2806, allocations: 4 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.2807, allocations: 3.938 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.906e-05/0.2808, allocations: 95.27 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2808, allocations: 0 / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000427/0.2812, allocations: 15.94 kB / 0.6379 GB, free: 14.05 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 (3): * Single equations (assignments): 3 * 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.001705/0.2829, allocations: 0.8411 MB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.2842, allocations: 203.7 kB / 0.6389 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2842, allocations: 0 / 0.6389 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.2848, allocations: 95.88 kB / 0.639 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.2853, allocations: 5.406 kB / 0.639 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.2911, allocations: 1.844 MB / 0.6408 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.2916, allocations: 0.6885 MB / 0.6415 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.2918, allocations: 16 kB / 0.6415 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2919, allocations: 23.42 kB / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2919, allocations: 0 / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2299/0.5218, allocations: 1.988 MB / 0.6435 GB, free: 8.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.3, allocations: 6.281 kB / 0.6435 GB, free: 8.281 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)