Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.7734/0.7734, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001158/0.001158, allocations: 188.2 kB / 173.7 MB, free: 6.125 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.678/1.678, allocations: 205.4 MB / 409 MB, free: 10.5 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.001046/0.001046, allocations: 98.03 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003455, allocations: 10.22 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1766, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.3202, allocations: 102.2 MB / 0.7352 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.3206, allocations: 87.92 kB / 0.7353 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.006028/0.3266, allocations: 2.168 MB / 0.7374 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3267, allocations: 0 / 0.7374 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3267, allocations: 0 / 0.7374 GB, free: 5.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003328/0.327, allocations: 341.6 kB / 0.7377 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3271, allocations: 8.031 kB / 0.7377 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3271, allocations: 34.56 kB / 0.7378 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.3272, allocations: 11.86 kB / 0.7378 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3273, allocations: 159.1 kB / 0.7379 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3273, allocations: 4 kB / 0.7379 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.3273, allocations: 4 kB / 0.7379 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3275, allocations: 45.62 kB / 0.738 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3275, allocations: 0 / 0.738 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3275, allocations: 0 / 0.738 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.3275, allocations: 3.984 kB / 0.738 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.658e-05/0.3276, allocations: 15.95 kB / 0.738 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.3278, allocations: 161.6 kB / 0.7382 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3279, allocations: 58.48 kB / 0.7382 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.587e-05/0.328, allocations: 81.09 kB / 0.7383 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.328, allocations: 38.5 kB / 0.7383 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.328, allocations: 0 / 0.7383 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.001159/0.3292, allocations: 484.5 kB / 0.7388 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.3292, allocations: 55.41 kB / 0.7388 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.3293, allocations: 89 kB / 0.7389 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3293, allocations: 25.7 kB / 0.7389 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.3293, allocations: 80.14 kB / 0.739 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3294, allocations: 27.64 kB / 0.739 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.3294, allocations: 0 / 0.739 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.3295, allocations: 314.8 kB / 0.7393 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.3295, allocations: 16.12 kB / 0.7394 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.3296, allocations: 15.98 kB / 0.7394 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.3296, allocations: 12 kB / 0.7394 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3296, allocations: 0 / 0.7394 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.3297, allocations: 77.52 kB / 0.7395 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3297, allocations: 8 kB / 0.7395 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3297, allocations: 0 / 0.7395 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3298, allocations: 0 / 0.7395 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.3299, allocations: 15.98 kB / 0.7395 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3299, allocations: 0 / 0.7395 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.3299, allocations: 4 kB / 0.7395 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.3299, allocations: 0 / 0.7395 GB, free: 3.449 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 (8): * Single equations (assignments): 8 * 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 6.885e-05/0.33, allocations: 117.8 kB / 0.7396 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.33, allocations: 3.938 kB / 0.7396 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.3302, allocations: 85.94 kB / 0.7397 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3302, allocations: 0 / 0.7397 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3302, allocations: 0 / 0.7397 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3302, allocations: 3.984 kB / 0.7397 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3303, allocations: 169.6 kB / 0.7399 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3303, allocations: 0 / 0.7399 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.3304, allocations: 12 kB / 0.7399 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3304, allocations: 3.984 kB / 0.7399 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3304, allocations: 7.938 kB / 0.7399 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3304, allocations: 0 / 0.7399 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3304, allocations: 3.938 kB / 0.7399 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.3306, allocations: 121.1 kB / 0.74 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.3307, allocations: 81.17 kB / 0.7401 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3307, allocations: 8.031 kB / 0.7401 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.3307, allocations: 3.938 kB / 0.7401 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.3308, allocations: 7.984 kB / 0.7401 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3308, allocations: 0 / 0.7401 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.3308, allocations: 83.28 kB / 0.7402 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.3308, allocations: 0 / 0.7402 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002084/0.331, allocations: 35.94 kB / 0.7402 GB, free: 2.609 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0005066/0.3315, allocations: 0.6981 MB / 0.7409 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3316, allocations: 43.91 kB / 0.7409 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3317, allocations: 0 / 0.7409 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.3317, allocations: 16 kB / 0.7409 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.3318, allocations: 10.84 kB / 0.741 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/0.3325, allocations: 438.6 kB / 0.7414 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3327, allocations: 0.6809 MB / 0.742 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.3328, allocations: 12.23 kB / 0.7421 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.3328, allocations: 11.44 kB / 0.7421 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.3328, allocations: 0 / 0.7421 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3033/0.6361, allocations: 1.496 MB / 0.7435 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.6363, allocations: 214.5 kB / 0.7437 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.097, allocations: 9.859 kB / 0.7437 GB, free: 109.2 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)