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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8614/0.8614, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 180.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000974/0.0009741, allocations: 91.78 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 271.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.81e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4617, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.6071, allocations: 107.4 MB / 0.8624 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.6074, allocations: 79.94 kB / 0.8625 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005677/0.6131, allocations: 2.034 MB / 0.8645 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6132, allocations: 8 kB / 0.8645 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.6132, allocations: 0 / 0.8645 GB, free: 2.207 MB / 0.5261 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.000322/0.6135, allocations: 330.5 kB / 0.8648 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.6136, allocations: 12.03 kB / 0.8648 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.6136, allocations: 0 / 0.8648 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.6137, allocations: 159.1 kB / 0.865 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6138, allocations: 3.953 kB / 0.865 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.6138, allocations: 4 kB / 0.865 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/0.6139, allocations: 15.98 kB / 0.865 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.614, allocations: 49.62 kB / 0.865 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.614, allocations: 3.984 kB / 0.865 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.614, allocations: 0 / 0.865 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.614, allocations: 0 / 0.865 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.6142, allocations: 138.1 kB / 0.8652 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.004e-05/0.6143, allocations: 38.58 kB / 0.8652 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.6143, allocations: 16.98 kB / 0.8652 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.6144, allocations: 89.09 kB / 0.8653 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.6145, allocations: 34.52 kB / 0.8653 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.6145, allocations: 0 / 0.8653 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001088/0.6156, allocations: 448.1 kB / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.6156, allocations: 59.39 kB / 0.8658 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.6157, allocations: 85 kB / 0.8659 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.6157, allocations: 25.7 kB / 0.8659 GB, free: 472 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.6158, allocations: 88.2 kB / 0.866 GB, free: 380 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6158, allocations: 23.66 kB / 0.866 GB, free: 356 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.6158, allocations: 0 / 0.866 GB, free: 356 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.616, allocations: 318.8 kB / 0.8663 GB, free: 28 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.616, allocations: 8 kB / 0.8663 GB, free: 20 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.616, allocations: 15.67 kB / 0.8664 GB, free: 8 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.6161, allocations: 8 kB / 0.8664 GB, free: 0 / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.6161, allocations: 0 / 0.8664 GB, free: 0 / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001076/0.6162, allocations: 65.67 kB / 0.8664 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.6162, allocations: 15.95 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6163, allocations: 3.938 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6163, allocations: 0 / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.6164, allocations: 15.94 kB / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6164, allocations: 0 / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.6164, allocations: 0 / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.6164, allocations: 4 kB / 0.8665 GB, free: 15.89 MB / 0.5417 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 () * 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 7.648e-05/0.6165, allocations: 101 kB / 0.8666 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001028/0.6166, allocations: 61.58 kB / 0.8666 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.6166, allocations: 11.95 kB / 0.8666 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.6168, allocations: 82 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6168, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.6168, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6168, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.617, allocations: 138.2 kB / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.617, allocations: 0 / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.617, allocations: 15.98 kB / 0.8669 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6171, allocations: 0 / 0.8669 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.6171, allocations: 3.953 kB / 0.8669 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6171, allocations: 4 kB / 0.8669 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6171, allocations: 4 kB / 0.8669 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.6173, allocations: 114.5 kB / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.6173, allocations: 81.14 kB / 0.8671 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.6174, allocations: 192 / 0.8671 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.6174, allocations: 7.953 kB / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.6174, allocations: 7.984 kB / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.6174, allocations: 4.062 kB / 0.8671 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.6175, allocations: 83.22 kB / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6175, allocations: 0 / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002266/0.6177, allocations: 35.94 kB / 0.8672 GB, free: 15.05 MB / 0.5417 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 () * 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.0005614/0.6183, allocations: 0.6827 MB / 0.8679 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.6184, allocations: 36 kB / 0.8679 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6184, allocations: 0 / 0.8679 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.6185, allocations: 27.92 kB / 0.8679 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.6186, allocations: 3.953 kB / 0.8679 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.619, allocations: 140.8 kB / 0.8681 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.6193, allocations: 0.6807 MB / 0.8687 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.6193, allocations: 12.12 kB / 0.8687 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.6194, allocations: 19.42 kB / 0.8688 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6194, allocations: 0 / 0.8688 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.6389, allocations: 1.187 MB / 0.8699 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.6392, allocations: 180.5 kB / 0.8701 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.239, allocations: 4 kB / 0.8701 GB, free: 12.01 MB / 0.5417 GB (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/linux/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)