Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7219/0.7219, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 178.2 kB / 173.7 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.88 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 12.14 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1762, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.3266, allocations: 102.7 MB / 0.7356 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.3269, allocations: 75.95 kB / 0.7357 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002877/0.3298, allocations: 0.9489 MB / 0.7366 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3298, allocations: 0 / 0.7366 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3299, allocations: 0 / 0.7366 GB, free: 6.621 MB / 0.5105 GB 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.0004363/0.3303, allocations: 355.2 kB / 0.737 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.3304, allocations: 12.03 kB / 0.737 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.3304, allocations: 30.56 kB / 0.737 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.3305, allocations: 7.953 kB / 0.737 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3306, allocations: 171.1 kB / 0.7372 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3306, allocations: 0 / 0.7372 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3306, allocations: 0 / 0.7372 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3308, allocations: 53.67 kB / 0.7372 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3309, allocations: 0 / 0.7372 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3309, allocations: 4 kB / 0.7373 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3309, allocations: 0 / 0.7373 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3311, allocations: 55.84 kB / 0.7373 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.3315, allocations: 264.9 kB / 0.7376 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.3317, allocations: 46.59 kB / 0.7376 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.332, allocations: 202.2 kB / 0.7378 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3321, allocations: 34.55 kB / 0.7378 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3321, allocations: 0 / 0.7378 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.3324, allocations: 109.5 kB / 0.7379 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3325, allocations: 55.39 kB / 0.738 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.3326, allocations: 93 kB / 0.7381 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3326, allocations: 25.7 kB / 0.7381 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3326, allocations: 80.14 kB / 0.7382 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3327, allocations: 11.91 kB / 0.7382 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.3327, allocations: 0 / 0.7382 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3328, allocations: 318.9 kB / 0.7385 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.3329, allocations: 23.98 kB / 0.7385 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.333, allocations: 15.98 kB / 0.7385 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.3331, allocations: 28.05 kB / 0.7386 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3331, allocations: 3.938 kB / 0.7386 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.3333, allocations: 77.59 kB / 0.7386 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3333, allocations: 4 kB / 0.7386 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3333, allocations: 4.031 kB / 0.7386 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.3334, allocations: 7.984 kB / 0.7386 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.3335, allocations: 11.98 kB / 0.7387 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3335, allocations: 3.953 kB / 0.7387 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.3335, allocations: 11.92 kB / 0.7387 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3335, allocations: 4 kB / 0.7387 GB, free: 4.281 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/0.3336, allocations: 113.8 kB / 0.7388 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.3337, allocations: 0 / 0.7388 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.3339, allocations: 76.78 kB / 0.7389 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3339, allocations: 4 kB / 0.7389 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3339, allocations: 3.938 kB / 0.7389 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.334, allocations: 7.984 kB / 0.7389 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.3341, allocations: 157.7 kB / 0.739 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3341, allocations: 0 / 0.739 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.3342, allocations: 11.98 kB / 0.739 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3342, allocations: 0 / 0.739 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3342, allocations: 4 kB / 0.739 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3342, allocations: 4.25 kB / 0.739 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3342, allocations: 4 kB / 0.7391 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3345, allocations: 175.4 kB / 0.7392 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.3346, allocations: 77.11 kB / 0.7393 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3346, allocations: 4 kB / 0.7393 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.3347, allocations: 16.02 kB / 0.7393 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.3347, allocations: 0 / 0.7393 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3347, allocations: 4 kB / 0.7393 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.3348, allocations: 79.28 kB / 0.7394 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.161e-05/0.3348, allocations: 0 / 0.7394 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002067/0.335, allocations: 19.92 kB / 0.7394 GB, free: 3.434 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006131/0.3356, allocations: 0.7142 MB / 0.7401 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3358, allocations: 52 kB / 0.7402 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3359, allocations: 0 / 0.7402 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.336, allocations: 31.84 kB / 0.7402 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3362, allocations: 6.984 kB / 0.7402 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.3366, allocations: 150.4 kB / 0.7403 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.337, allocations: 0.677 MB / 0.741 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.337, allocations: 4 kB / 0.741 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.3371, allocations: 7.438 kB / 0.741 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.3371, allocations: 0 / 0.741 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.35, allocations: 1.214 MB / 0.7422 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.3502, allocations: 182.4 kB / 0.7424 GB, free: 396 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.864, allocations: 0 / 0.7424 GB, free: 396 kB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)