Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.001686/0.001686, allocations: 107.5 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.001888/0.001888, 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 1.926/1.926, 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.8243/0.8243, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002275, allocations: 63.44 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3133, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003876/0.3173, allocations: 1.431 MB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3184, allocations: 467.8 kB / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.3185, allocations: 0 / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.3185, allocations: 7.875 kB / 0.6334 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.3186, allocations: 7.922 kB / 0.6335 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.3189, allocations: 19.97 kB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.319, allocations: 23.92 kB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3192, allocations: 8 kB / 0.6335 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.3193, allocations: 11.94 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.3193, allocations: 15.92 kB / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3194, allocations: 0 / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3195, allocations: 19.98 kB / 0.6335 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3195, allocations: 11.97 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3195, allocations: 11.94 kB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3197, allocations: 27.91 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3197, allocations: 0 / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3197, allocations: 0 / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3197, allocations: 0 / 0.6336 GB, free: 2.832 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.000582/0.3203, allocations: 346.3 kB / 0.6339 GB, free: 2.449 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.3204, allocations: 8.031 kB / 0.6339 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3204, allocations: 42.67 kB / 0.634 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3205, allocations: 8.875 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3207, allocations: 164.9 kB / 0.6341 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3207, allocations: 384 / 0.6341 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3207, allocations: 4.375 kB / 0.6341 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.321, allocations: 53.8 kB / 0.6342 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.321, allocations: 4 kB / 0.6342 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.321, allocations: 0 / 0.6342 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.321, allocations: 3.984 kB / 0.6342 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.3212, allocations: 35.95 kB / 0.6342 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.3217, allocations: 260.8 kB / 0.6345 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3219, allocations: 34.56 kB / 0.6345 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.322, allocations: 24.89 kB / 0.6345 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.3222, allocations: 81.11 kB / 0.6346 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3222, allocations: 30.56 kB / 0.6347 GB, free: 1.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.3222, allocations: 4 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004934/0.3227, allocations: 85.58 kB / 0.6347 GB, free: 1.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.3228, allocations: 55.41 kB / 0.6348 GB, free: 1.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3229, allocations: 101.8 kB / 0.6349 GB, free: 1.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/0.323, allocations: 25.7 kB / 0.6349 GB, free: 1.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.3231, allocations: 88.42 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3231, allocations: 7.844 kB / 0.635 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3232, allocations: 9.719 kB / 0.635 GB, free: 1.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3233, allocations: 330.9 kB / 0.6353 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3235, allocations: 11.98 kB / 0.6353 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3236, allocations: 15.98 kB / 0.6354 GB, free: 0.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3238, allocations: 40.81 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3238, allocations: 0 / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002671/0.3241, allocations: 69.67 kB / 0.6355 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3241, allocations: 4 kB / 0.6355 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3241, allocations: 0 / 0.6355 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3241, allocations: 7.984 kB / 0.6355 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3243, allocations: 4 kB / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3243, allocations: 0 / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.3244, allocations: 12.14 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3244, allocations: 0 / 0.6355 GB, free: 0.6484 MB / 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.0001085/0.3245, allocations: 121.8 kB / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.3245, allocations: 0 / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.3248, allocations: 76.72 kB / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3249, allocations: 0 / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3249, allocations: 3.984 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3249, allocations: 0 / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.3251, allocations: 161.6 kB / 0.6358 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3252, allocations: 7.969 kB / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.627e-05/0.3252, allocations: 11.98 kB / 0.6359 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3252, allocations: 3.938 kB / 0.6359 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3253, allocations: 0 / 0.6359 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3253, allocations: 0 / 0.6359 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3253, allocations: 0 / 0.6359 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.3257, allocations: 163.5 kB / 0.636 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.3258, allocations: 85.11 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3258, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3259, allocations: 7.984 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.326, allocations: 0 / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.326, allocations: 3.938 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.326, allocations: 83.27 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3261, allocations: 0 / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.3264, allocations: 15.91 kB / 0.6362 GB, free: 15.82 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.0008103/0.3272, allocations: 0.6929 MB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.3276, allocations: 43.98 kB / 0.6369 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3276, allocations: 0 / 0.6369 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.3277, allocations: 19.92 kB / 0.6369 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.3282, allocations: 8 kB / 0.6369 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.3288, allocations: 127.3 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3292, allocations: 0.6768 MB / 0.6377 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.3293, allocations: 4.125 kB / 0.6377 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.3293, allocations: 15.44 kB / 0.6377 GB, free: 14.13 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3293, allocations: 0 / 0.6377 GB, free: 14.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.233/0.5623, allocations: 1.437 MB / 0.6392 GB, free: 12.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.27, allocations: 14 kB / 0.6392 GB, free: 12.77 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)