Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001092/0.001092, allocations: 103.8 kB / 16.4 MB, free: 6.477 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.001264/0.001264, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.766/2.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 1.073/1.073, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 63.73 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2786, allocations: 76.18 MB / 0.6316 GB, free: 4.836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.003064/0.2817, allocations: 0.5727 MB / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.2842, allocations: 1.108 MB / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.2843, allocations: 0 / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.2844, allocations: 0 / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.2848, allocations: 19.91 kB / 0.6333 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.2848, allocations: 0 / 0.6333 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.2849, allocations: 4 kB / 0.6333 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.792e-05/0.2849, allocations: 11.94 kB / 0.6333 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.285, allocations: 3.938 kB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.285, allocations: 0 / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.285, allocations: 4 kB / 0.6333 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.2852, allocations: 23.91 kB / 0.6333 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.2852, allocations: 3.984 kB / 0.6333 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.2853, allocations: 4 kB / 0.6333 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2854, allocations: 15.92 kB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2854, allocations: 0 / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2854, allocations: 0 / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2854, allocations: 8 kB / 0.6334 GB, free: 3.043 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.0004261/0.2859, allocations: 311.6 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.2859, allocations: 8.031 kB / 0.6337 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.286, allocations: 38.67 kB / 0.6337 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.286, allocations: 0.9375 kB / 0.6337 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2862, allocations: 168.4 kB / 0.6339 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2862, allocations: 384 / 0.6339 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.2862, allocations: 4.359 kB / 0.6339 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2864, allocations: 37.81 kB / 0.6339 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2864, allocations: 4 kB / 0.6339 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.2864, allocations: 4 kB / 0.6339 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2865, allocations: 4 kB / 0.6339 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.2865, allocations: 8 kB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.2867, allocations: 149.6 kB / 0.6341 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.287, allocations: 38.55 kB / 0.6341 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.287, allocations: 12.86 kB / 0.6341 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.2872, allocations: 85.11 kB / 0.6342 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2873, allocations: 34.5 kB / 0.6342 GB, free: 1.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.2873, allocations: 0 / 0.6342 GB, free: 1.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.006254/0.2935, allocations: 0.5666 MB / 0.6348 GB, free: 1.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.2936, allocations: 59.39 kB / 0.6348 GB, free: 1.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.2937, allocations: 89.86 kB / 0.6349 GB, free: 1.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.2937, allocations: 29.64 kB / 0.635 GB, free: 1.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.2938, allocations: 88.12 kB / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.2938, allocations: 12.38 kB / 0.6351 GB, free: 1.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.2939, allocations: 17.72 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2941, allocations: 318.8 kB / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/0.295, allocations: 91.89 kB / 0.6355 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/0.296, allocations: 102.5 kB / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.2978, allocations: 182.5 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2978, allocations: 0 / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001982/0.2998, allocations: 225.5 kB / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.2998, allocations: 8 kB / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2999, allocations: 0 / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.2999, allocations: 0 / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.3005, allocations: 55.94 kB / 0.636 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3006, allocations: 0 / 0.636 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.301, allocations: 39.98 kB / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3011, allocations: 3.984 kB / 0.6361 GB, free: 28 kB / 478.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 (5): * Single equations (assignments): 5 * 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.0001512/0.3012, allocations: 118.7 kB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3013, allocations: 7.844 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.303, allocations: 237 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3031, allocations: 4 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3031, allocations: 0 / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3031, allocations: 0 / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.305, allocations: 450.8 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.305, allocations: 8 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.3056, allocations: 43.97 kB / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3056, allocations: 4.359 kB / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3056, allocations: 12 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3056, allocations: 0 / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3056, allocations: 3.984 kB / 0.6369 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.3073, allocations: 299.4 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.3074, allocations: 81.09 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3074, allocations: 3.984 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.308, allocations: 39.98 kB / 0.6373 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.308, allocations: 4 kB / 0.6373 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.308, allocations: 7.984 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.3081, allocations: 79.22 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3081, allocations: 0 / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004011/0.3085, allocations: 12 kB / 0.6374 GB, free: 14.53 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 (5): * Single equations (assignments): 5 * 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.002386/0.3109, allocations: 0.8411 MB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.3129, allocations: 179.9 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.313, allocations: 4 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009709/0.3139, allocations: 92.06 kB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3143, allocations: 4 kB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3165, allocations: 242.6 kB / 0.6387 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3168, allocations: 0.6768 MB / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.3171, allocations: 24 kB / 0.6394 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3173, allocations: 19.44 kB / 0.6394 GB, free: 12.37 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3173, allocations: 3.938 kB / 0.6394 GB, free: 12.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/1.422, allocations: 1.637 MB / 0.641 GB, free: 10.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.72, allocations: 17.14 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)