Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001097/0.001097, allocations: 191.7 kB / 16.14 MB, free: 6.715 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.136/1.136, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 285.7 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8228/0.8228, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 103.1 kB / 0.5946 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1288, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001527/0.1303, allocations: 0.6449 MB / 0.6802 GB, free: 416 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.1307, allocations: 175.4 kB / 0.6804 GB, free: 240 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.124e-05/0.1307, allocations: 0 / 0.6804 GB, free: 240 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.1307, allocations: 0 / 0.6804 GB, free: 240 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.75e-05/0.1307, allocations: 0 / 0.6804 GB, free: 240 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.1309, allocations: 15.98 kB / 0.6804 GB, free: 224 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.131, allocations: 19.98 kB / 0.6804 GB, free: 204 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.138e-05/0.131, allocations: 11.92 kB / 0.6804 GB, free: 192 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.1311, allocations: 3.938 kB / 0.6804 GB, free: 188 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1311, allocations: 11.98 kB / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.1311, allocations: 0 / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.1312, allocations: 35.91 kB / 0.6805 GB, free: 140 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1312, allocations: 11.92 kB / 0.6805 GB, free: 128 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.1312, allocations: 11.98 kB / 0.6805 GB, free: 116 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.136e-05/0.1313, allocations: 23.91 kB / 0.6805 GB, free: 92 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1313, allocations: 0 / 0.6805 GB, free: 92 kB / 478.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1313, allocations: 0 / 0.6805 GB, free: 92 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1313, allocations: 8 kB / 0.6805 GB, free: 84 kB / 478.1 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.0003212/0.1317, allocations: 327.8 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.1317, allocations: 8.031 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.1317, allocations: 38.73 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.1318, allocations: 0.9375 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.634e-05/0.1318, allocations: 168.4 kB / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1319, allocations: 4.375 kB / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1319, allocations: 384 / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.132, allocations: 50.25 kB / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.132, allocations: 7.875 kB / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.132, allocations: 0 / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.132, allocations: 4 kB / 0.6811 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.1321, allocations: 19.97 kB / 0.6811 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.1322, allocations: 157.6 kB / 0.6813 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.1323, allocations: 42.62 kB / 0.6813 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.1323, allocations: 20.98 kB / 0.6813 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-05/0.1324, allocations: 89.09 kB / 0.6814 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1324, allocations: 34.5 kB / 0.6814 GB, free: 14.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 3.517e-06/0.1324, allocations: 0 / 0.6814 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001087/0.1335, allocations: 488 kB / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1336, allocations: 55.41 kB / 0.682 GB, free: 14.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.1336, allocations: 97.84 kB / 0.682 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1336, allocations: 25.7 kB / 0.6821 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.1337, allocations: 80.14 kB / 0.6822 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1337, allocations: 27.64 kB / 0.6822 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1337, allocations: 25.7 kB / 0.6822 GB, free: 14.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.1338, allocations: 314.8 kB / 0.6825 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.1339, allocations: 8.438 kB / 0.6825 GB, free: 13.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.1339, allocations: 15.98 kB / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.134, allocations: 41.14 kB / 0.6826 GB, free: 13.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.134, allocations: 8 kB / 0.6826 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001031/0.1341, allocations: 69.62 kB / 0.6826 GB, free: 13.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1341, allocations: 8 kB / 0.6826 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1341, allocations: 3.984 kB / 0.6826 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.1341, allocations: 0 / 0.6826 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.1342, allocations: 12 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.1342, allocations: 0 / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.1342, allocations: 0 / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1342, allocations: 4 kB / 0.6827 GB, free: 13.55 MB / 494.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 (8): * Single equations (assignments): 8 * 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 5.739e-05/0.1343, allocations: 123 kB / 0.6828 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.1343, allocations: 11.84 kB / 0.6828 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.1345, allocations: 81.61 kB / 0.6829 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1345, allocations: 0 / 0.6829 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1345, allocations: 0 / 0.6829 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1345, allocations: 4 kB / 0.6829 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1346, allocations: 161.7 kB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1346, allocations: 0 / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.1347, allocations: 19.86 kB / 0.683 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1347, allocations: 8 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1347, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1347, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1347, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1349, allocations: 109.1 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.1349, allocations: 92.89 kB / 0.6832 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1349, allocations: 0 / 0.6832 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.135, allocations: 4 kB / 0.6833 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.135, allocations: 16.03 kB / 0.6833 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.135, allocations: 4 kB / 0.6833 GB, free: 12.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.407e-05/0.135, allocations: 75.28 kB / 0.6833 GB, free: 12.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.135, allocations: 0 / 0.6833 GB, free: 12.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.1352, allocations: 32 kB / 0.6834 GB, free: 12.72 MB / 494.1 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 () * 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 (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.0004437/0.1357, allocations: 0.6813 MB / 0.684 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.1358, allocations: 39.92 kB / 0.6841 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1358, allocations: 0 / 0.6841 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.1358, allocations: 24.45 kB / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.136, allocations: 4 kB / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.1368, allocations: 1.212 MB / 0.6853 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.137, allocations: 0.6809 MB / 0.686 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.1371, allocations: 12 kB / 0.686 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.1371, allocations: 19.42 kB / 0.686 GB, free: 9.922 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1371, allocations: 0 / 0.686 GB, free: 9.922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.52/1.657, allocations: 1.684 MB / 0.6876 GB, free: 8.43 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/1.658, allocations: 252.6 kB / 0.6879 GB, free: 8.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/3.339, allocations: 2.953 kB / 0.6879 GB, free: 8.164 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)