Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.001548/0.001548, allocations: 104.6 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.001784/0.001784, allocations: 193.2 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.848/1.848, 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.8581/0.8581, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.00188, allocations: 65.31 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003565/0.3144, allocations: 1.452 MB / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3157, allocations: 0.5657 MB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.3158, allocations: 0 / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.3158, allocations: 4 kB / 0.6336 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.3159, allocations: 7.875 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.3163, allocations: 47.88 kB / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3164, allocations: 31.86 kB / 0.6336 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3166, allocations: 7.938 kB / 0.6337 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3167, allocations: 11.98 kB / 0.6337 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.3168, allocations: 15.92 kB / 0.6337 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3168, allocations: 4 kB / 0.6337 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.317, allocations: 51.95 kB / 0.6337 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.317, allocations: 8 kB / 0.6337 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3171, allocations: 11.86 kB / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3173, allocations: 63.86 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.3173, allocations: 4 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.177e-06/0.3173, allocations: 0 / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3173, allocations: 0 / 0.6338 GB, free: 2.594 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006585/0.318, allocations: 350.8 kB / 0.6342 GB, free: 2.207 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.3181, allocations: 8.031 kB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.3181, allocations: 34.75 kB / 0.6342 GB, free: 2.156 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.3182, allocations: 8.844 kB / 0.6342 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3184, allocations: 176.4 kB / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3184, allocations: 4.375 kB / 0.6344 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3184, allocations: 384 / 0.6344 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3186, allocations: 45.81 kB / 0.6344 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3186, allocations: 0 / 0.6344 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3187, allocations: 3.984 kB / 0.6344 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3187, allocations: 0 / 0.6344 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3188, allocations: 23.98 kB / 0.6344 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.3193, allocations: 256.9 kB / 0.6347 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3194, allocations: 34.55 kB / 0.6347 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.3195, allocations: 16.91 kB / 0.6347 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009896/0.3205, allocations: 477.4 kB / 0.6352 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.3205, allocations: 34.56 kB / 0.6352 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.3205, allocations: 0 / 0.6352 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.3209, allocations: 65.61 kB / 0.6353 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.321, allocations: 55.53 kB / 0.6353 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.3211, allocations: 113.8 kB / 0.6354 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3212, allocations: 25.7 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.3212, allocations: 84.14 kB / 0.6356 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3213, allocations: 7.891 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3213, allocations: 13.72 kB / 0.6356 GB, free: 500 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.3215, allocations: 318.8 kB / 0.6359 GB, free: 172 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.3216, allocations: 11.98 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.3216, allocations: 12 kB / 0.6359 GB, free: 148 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.3217, allocations: 24.84 kB / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3218, allocations: 0 / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/0.3219, allocations: 69.52 kB / 0.636 GB, free: 44 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.322, allocations: 4 kB / 0.636 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.322, allocations: 0 / 0.636 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.322, allocations: 0 / 0.636 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3221, allocations: 8.094 kB / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3221, allocations: 0 / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.3222, allocations: 4 kB / 0.636 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3222, allocations: 3.984 kB / 0.636 GB, free: 24 kB / 478.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 (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 0.0001219/0.3223, allocations: 113.8 kB / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3225, allocations: 4 kB / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.3228, allocations: 61.14 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3228, allocations: 4.031 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3229, allocations: 0 / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3229, allocations: 0 / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.3231, allocations: 165.6 kB / 0.6363 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3231, allocations: 0 / 0.6363 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.3232, allocations: 7.984 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3232, allocations: 0 / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3232, allocations: 0 / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3232, allocations: 4 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3232, allocations: 0 / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.3234, allocations: 159.3 kB / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.3235, allocations: 81.11 kB / 0.6366 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3235, allocations: 4 kB / 0.6366 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/0.3236, allocations: 0 / 0.6366 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.3237, allocations: 3.984 kB / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3237, allocations: 4 kB / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.3238, allocations: 87.22 kB / 0.6367 GB, free: 15.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3238, allocations: 4.031 kB / 0.6367 GB, free: 15.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3241, allocations: 16 kB / 0.6367 GB, free: 15.21 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 (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.0007794/0.3249, allocations: 0.7045 MB / 0.6374 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.325, allocations: 24.02 kB / 0.6374 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.325, allocations: 0 / 0.6374 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.3251, allocations: 15.92 kB / 0.6374 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3254, allocations: 9.406 kB / 0.6374 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.326, allocations: 152.3 kB / 0.6376 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.3265, allocations: 0.6768 MB / 0.6382 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.3265, allocations: 8.125 kB / 0.6382 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.3266, allocations: 15.42 kB / 0.6383 GB, free: 13.52 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3266, allocations: 0 / 0.6383 GB, free: 13.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/0.6025, allocations: 1.614 MB / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.33, allocations: 11.88 kB / 0.6398 GB, free: 11.96 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)