Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",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.7765/0.7765, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001056/0.001056, allocations: 184.2 kB / 173.7 MB, free: 6.145 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.764/1.764, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009133/0.0009133, allocations: 94.91 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 11 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 76.78 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.3219, allocations: 103.4 MB / 0.7364 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.3223, allocations: 83.95 kB / 0.7365 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004245/0.3265, allocations: 1.441 MB / 0.7379 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3265, allocations: 4 kB / 0.7379 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3265, allocations: 0 / 0.7379 GB, free: 5.398 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.0003891/0.3269, allocations: 355.2 kB / 0.7382 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.327, allocations: 8.031 kB / 0.7382 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.327, allocations: 34.56 kB / 0.7383 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.3271, allocations: 11.95 kB / 0.7383 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3272, allocations: 171 kB / 0.7384 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3272, allocations: 0 / 0.7384 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3273, allocations: 7.938 kB / 0.7384 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3274, allocations: 41.69 kB / 0.7385 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3274, allocations: 0 / 0.7385 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3274, allocations: 0 / 0.7385 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3274, allocations: 0 / 0.7385 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.3275, allocations: 31.94 kB / 0.7385 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3279, allocations: 249 kB / 0.7387 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.328, allocations: 38.5 kB / 0.7388 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006458/0.3286, allocations: 473.5 kB / 0.7392 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3287, allocations: 34.5 kB / 0.7393 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/0.3287, allocations: 4 kB / 0.7393 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000235/0.3289, allocations: 73.62 kB / 0.7393 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.329, allocations: 51.41 kB / 0.7394 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.3291, allocations: 97 kB / 0.7395 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3291, allocations: 33.58 kB / 0.7395 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3292, allocations: 96.03 kB / 0.7396 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.3292, allocations: 8.062 kB / 0.7396 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.3292, allocations: 0 / 0.7396 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3293, allocations: 310.8 kB / 0.7399 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.3294, allocations: 15.98 kB / 0.7399 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.3294, allocations: 8 kB / 0.7399 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.3295, allocations: 15.98 kB / 0.7399 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3295, allocations: 4.062 kB / 0.74 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001129/0.3296, allocations: 57.59 kB / 0.74 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3296, allocations: 8 kB / 0.74 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3296, allocations: 0 / 0.74 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3296, allocations: 0 / 0.74 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.3297, allocations: 7.984 kB / 0.74 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3297, allocations: 3.953 kB / 0.74 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.3298, allocations: 8.031 kB / 0.74 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3298, allocations: 0 / 0.74 GB, free: 2.875 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.349e-05/0.3299, allocations: 117.8 kB / 0.7401 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.3299, allocations: 0 / 0.7401 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.3301, allocations: 61.2 kB / 0.7402 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3301, allocations: 0 / 0.7402 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3301, allocations: 8.031 kB / 0.7402 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3301, allocations: 3.953 kB / 0.7402 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3303, allocations: 161.7 kB / 0.7404 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3303, allocations: 0 / 0.7404 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.3303, allocations: 8 kB / 0.7404 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3303, allocations: 0 / 0.7404 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3304, allocations: 7.984 kB / 0.7404 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3304, allocations: 0 / 0.7404 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3304, allocations: 0 / 0.7404 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3305, allocations: 161.5 kB / 0.7405 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.3306, allocations: 89.05 kB / 0.7406 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3306, allocations: 3.984 kB / 0.7406 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.3307, allocations: 4 kB / 0.7406 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.3307, allocations: 0 / 0.7406 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3307, allocations: 0 / 0.7406 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.3308, allocations: 95.3 kB / 0.7407 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.3308, allocations: 0 / 0.7407 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002165/0.331, allocations: 19.94 kB / 0.7407 GB, free: 2.047 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.0005169/0.3315, allocations: 0.716 MB / 0.7414 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3317, allocations: 27.92 kB / 0.7415 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3317, allocations: 0 / 0.7415 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.3317, allocations: 15.98 kB / 0.7415 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.3319, allocations: 4 kB / 0.7415 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.3324, allocations: 178.3 kB / 0.7417 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3327, allocations: 0.6809 MB / 0.7423 GB, free: 344 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.3327, allocations: 0 / 0.7423 GB, free: 344 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.3328, allocations: 23.36 kB / 0.7423 GB, free: 320 kB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.3328, allocations: 0 / 0.7423 GB, free: 320 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3059/0.6387, allocations: 1.357 MB / 0.7437 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.6389, allocations: 186.5 kB / 0.7438 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.1, allocations: 3.562 kB / 0.7438 GB, free: 108.4 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)