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.7706/0.7706, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.0009982/0.0009982, allocations: 168.9 kB / 164.6 MB, free: 6.531 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.563/1.563, allocations: 205.2 MB / 399.5 MB, free: 5.918 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.0008235/0.0008235, allocations: 83.58 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.21e-05, allocations: 4 kB / 0.5467 GB, free: 60.37 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1631, allocations: 76.76 MB / 0.6216 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5531/0.7162, allocations: 101.6 MB / 0.7209 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.7165, allocations: 75.2 kB / 0.7209 GB, free: 13.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005751/0.7223, allocations: 2.172 MB / 0.7231 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7223, allocations: 0 / 0.7231 GB, free: 12.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.7223, allocations: 0 / 0.7231 GB, free: 12.14 MB / 490.7 MB 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.0003085/0.7227, allocations: 329.9 kB / 0.7234 GB, free: 11.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.7227, allocations: 12.03 kB / 0.7234 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.7228, allocations: 3.953 kB / 0.7234 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.7229, allocations: 163.1 kB / 0.7235 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.7229, allocations: 4 kB / 0.7235 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.7229, allocations: 0 / 0.7235 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.992e-05/0.723, allocations: 19.56 kB / 0.7236 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.313e-05/0.7231, allocations: 41.31 kB / 0.7236 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.7231, allocations: 0 / 0.7236 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.7231, allocations: 0 / 0.7236 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7231, allocations: 0 / 0.7236 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.7233, allocations: 138.2 kB / 0.7237 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.7234, allocations: 41.25 kB / 0.7238 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.7234, allocations: 20.3 kB / 0.7238 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.7235, allocations: 81.11 kB / 0.7239 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.7236, allocations: 34.5 kB / 0.7239 GB, free: 11.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.7236, allocations: 3.938 kB / 0.7239 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001055/0.7247, allocations: 454.1 kB / 0.7243 GB, free: 10.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.7247, allocations: 55.39 kB / 0.7244 GB, free: 10.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.7248, allocations: 85 kB / 0.7245 GB, free: 10.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.7248, allocations: 29.83 kB / 0.7245 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.7248, allocations: 80.14 kB / 0.7246 GB, free: 10.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.7249, allocations: 26.83 kB / 0.7246 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.7249, allocations: 0 / 0.7246 GB, free: 10.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.725, allocations: 321.9 kB / 0.7249 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.725, allocations: 7.062 kB / 0.7249 GB, free: 10 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.725, allocations: 11.44 kB / 0.7249 GB, free: 9.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.7251, allocations: 14.8 kB / 0.7249 GB, free: 9.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.7251, allocations: 0 / 0.7249 GB, free: 9.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001047/0.7252, allocations: 62.75 kB / 0.725 GB, free: 9.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7252, allocations: 4 kB / 0.725 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.7252, allocations: 0 / 0.725 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7253, allocations: 0 / 0.725 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.7253, allocations: 22.23 kB / 0.725 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7254, allocations: 0 / 0.725 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.7254, allocations: 0 / 0.725 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.7254, allocations: 4.25 kB / 0.725 GB, free: 9.895 MB / 490.7 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 () * 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.79e-05/0.7255, allocations: 104.9 kB / 0.7251 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001047/0.7256, allocations: 75.97 kB / 0.7252 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.7256, allocations: 0 / 0.7252 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.7258, allocations: 80.69 kB / 0.7253 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.7258, allocations: 0 / 0.7253 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7258, allocations: 7.984 kB / 0.7253 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7258, allocations: 0 / 0.7253 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.7259, allocations: 137 kB / 0.7254 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7259, allocations: 0 / 0.7254 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.726, allocations: 12 kB / 0.7254 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.726, allocations: 4 kB / 0.7254 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.726, allocations: 4 kB / 0.7254 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.726, allocations: 0 / 0.7254 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7261, allocations: 3.984 kB / 0.7254 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.7262, allocations: 117.2 kB / 0.7256 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.7263, allocations: 85.03 kB / 0.7256 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.7263, allocations: 0 / 0.7256 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.7263, allocations: 3.984 kB / 0.7256 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.7264, allocations: 8.094 kB / 0.7257 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.7264, allocations: 4 kB / 0.7257 GB, free: 9.207 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.973e-05/0.7264, allocations: 75.28 kB / 0.7257 GB, free: 9.133 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7264, allocations: 0 / 0.7257 GB, free: 9.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.7266, allocations: 47.23 kB / 0.7258 GB, free: 9.09 MB / 490.7 MB 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 () * 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.0005387/0.7272, allocations: 0.6902 MB / 0.7264 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.064e-05/0.7273, allocations: 34.17 kB / 0.7265 GB, free: 8.355 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7273, allocations: 0 / 0.7265 GB, free: 8.355 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.7273, allocations: 22.94 kB / 0.7265 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.7274, allocations: 1.219 kB / 0.7265 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.7278, allocations: 141.7 kB / 0.7266 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.7281, allocations: 0.6807 MB / 0.7273 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.927e-05/0.7282, allocations: 12.23 kB / 0.7273 GB, free: 7.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.7282, allocations: 14.56 kB / 0.7273 GB, free: 7.434 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7282, allocations: 0 / 0.7273 GB, free: 7.434 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.7493, allocations: 1.185 MB / 0.7285 GB, free: 6.273 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.7496, allocations: 180.8 kB / 0.7287 GB, free: 6.082 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/2.131, allocations: 3.938 kB / 0.7287 GB, free: 6.078 MB / 490.7 MB (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)