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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002431/0.002431, allocations: 284 kB / 303 MB, free: 3.535 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 180.9 MB / 0.5261 GB, free: 2.785 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 99.84 kB / 0.7248 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5389, allocations: 94.17 MB / 0.8168 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001791/0.5407, allocations: 0.6124 MB / 0.8174 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000401/0.5411, allocations: 155.9 kB / 0.8175 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.5411, allocations: 1.344 kB / 0.8175 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.5411, allocations: 7.875 kB / 0.8175 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.081e-05/0.5411, allocations: 4 kB / 0.8175 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.5415, allocations: 41.77 kB / 0.8176 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.5415, allocations: 10 kB / 0.8176 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.5416, allocations: 1 kB / 0.8176 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.5416, allocations: 11.47 kB / 0.8176 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.5417, allocations: 5.875 kB / 0.8176 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.5417, allocations: 1.156 kB / 0.8176 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.5417, allocations: 36.77 kB / 0.8176 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.5418, allocations: 8.406 kB / 0.8176 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.5418, allocations: 10.59 kB / 0.8177 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.331e-05/0.5419, allocations: 34.12 kB / 0.8177 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5419, allocations: 0.9062 kB / 0.8177 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5419, allocations: 0 / 0.8177 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5419, allocations: 0.8438 kB / 0.8177 GB, free: 6.613 MB / 0.5762 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.0003051/0.5422, allocations: 327.3 kB / 0.818 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5422, allocations: 9.844 kB / 0.818 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.5423, allocations: 39.48 kB / 0.818 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.5423, allocations: 6.266 kB / 0.818 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.148e-05/0.5424, allocations: 161.4 kB / 0.8182 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5424, allocations: 5.406 kB / 0.8182 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.5424, allocations: 2.312 kB / 0.8182 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5425, allocations: 45.3 kB / 0.8183 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5425, allocations: 3.938 kB / 0.8183 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.5425, allocations: 4.969 kB / 0.8183 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5425, allocations: 0.875 kB / 0.8183 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.5426, allocations: 16.94 kB / 0.8183 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.5427, allocations: 162.5 kB / 0.8184 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.5428, allocations: 41.17 kB / 0.8185 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.5428, allocations: 19.72 kB / 0.8185 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.483e-05/0.5429, allocations: 87.41 kB / 0.8186 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.5429, allocations: 31.53 kB / 0.8186 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.5429, allocations: 5.016 kB / 0.8186 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001204/0.5441, allocations: 491.1 kB / 0.8191 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5442, allocations: 59.66 kB / 0.8191 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.078e-05/0.5442, allocations: 91.73 kB / 0.8192 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.5442, allocations: 25.7 kB / 0.8192 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.454e-05/0.5442, allocations: 81.17 kB / 0.8193 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.5442, allocations: 30.14 kB / 0.8194 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.5443, allocations: 27.09 kB / 0.8194 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.5443, allocations: 319.2 kB / 0.8197 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.5444, allocations: 11.06 kB / 0.8197 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.5444, allocations: 15.44 kB / 0.8197 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.5444, allocations: 33.8 kB / 0.8197 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5444, allocations: 4.938 kB / 0.8197 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.84e-05/0.5445, allocations: 78.19 kB / 0.8198 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5445, allocations: 5.594 kB / 0.8198 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.5445, allocations: 3.328 kB / 0.8198 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5446, allocations: 0.8125 kB / 0.8198 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.5446, allocations: 10.84 kB / 0.8198 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5446, allocations: 0.625 kB / 0.8198 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.5447, allocations: 5.469 kB / 0.8198 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.5447, allocations: 1.438 kB / 0.8198 GB, free: 4.434 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.5447, allocations: 116.5 kB / 0.82 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.5447, allocations: 13.75 kB / 0.82 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.5449, allocations: 77.7 kB / 0.82 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5449, allocations: 5.156 kB / 0.8201 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5449, allocations: 0.6562 kB / 0.8201 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5449, allocations: 4.844 kB / 0.8201 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.22e-05/0.545, allocations: 160.9 kB / 0.8202 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.545, allocations: 0 / 0.8202 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.545, allocations: 17.64 kB / 0.8202 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.545, allocations: 0.8438 kB / 0.8202 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.545, allocations: 5.438 kB / 0.8202 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.545, allocations: 0 / 0.8202 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.545, allocations: 4.812 kB / 0.8202 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.5452, allocations: 112.7 kB / 0.8203 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.5452, allocations: 90.16 kB / 0.8204 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.5452, allocations: 0.875 kB / 0.8204 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.5453, allocations: 4.875 kB / 0.8204 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.5453, allocations: 6.172 kB / 0.8204 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5453, allocations: 6.594 kB / 0.8204 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.457e-05/0.5453, allocations: 76.16 kB / 0.8205 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5453, allocations: 0 / 0.8205 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002113/0.5455, allocations: 31.81 kB / 0.8206 GB, free: 3.766 MB / 0.5762 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 (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.0003873/0.5459, allocations: 0.6889 MB / 0.8212 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.546, allocations: 38.34 kB / 0.8213 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.546, allocations: 0 / 0.8213 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.5461, allocations: 21.39 kB / 0.8213 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.5462, allocations: 4.766 kB / 0.8213 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.5472, allocations: 1.203 MB / 0.8225 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.5475, allocations: 0.6811 MB / 0.8231 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.5475, allocations: 7.703 kB / 0.8231 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.5476, allocations: 14.45 kB / 0.8231 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5476, allocations: 3.938 kB / 0.8232 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.5725, allocations: 1.841 MB / 0.8249 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.571, allocations: 16.25 kB / 0.825 GB, free: 16.9 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.497615278698504] Failed to read output from testmodel.py, exit status != 0: 8.637719068210572 8.653112568 8.1076581 Calling exit ...