Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 124.9 kB / 17.17 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002462/0.002462, allocations: 285.1 kB / 309.8 MB, free: 3.469 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.1/1.1, allocations: 180.6 MB / 0.5337 GB, free: 12.8 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 99.86 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.5791, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002645/0.5818, allocations: 1.462 MB / 0.8292 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.5822, allocations: 200.9 kB / 0.8294 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.5822, allocations: 0 / 0.8294 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.5823, allocations: 7.938 kB / 0.8294 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.5823, allocations: 8.672 kB / 0.8294 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.5826, allocations: 34.3 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.61e-05/0.5827, allocations: 25.48 kB / 0.8295 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.5828, allocations: 8.312 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.5828, allocations: 8.062 kB / 0.8295 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.5829, allocations: 13.66 kB / 0.8295 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5829, allocations: 2.625 kB / 0.8295 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/0.583, allocations: 32.45 kB / 0.8295 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.583, allocations: 12.06 kB / 0.8296 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.583, allocations: 11.17 kB / 0.8296 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.5832, allocations: 43.17 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5832, allocations: 0 / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5832, allocations: 0 / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.5832, allocations: 0.9375 kB / 0.8296 GB, free: 1.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004763/0.5837, allocations: 347.3 kB / 0.8299 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5837, allocations: 8.219 kB / 0.8299 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.5837, allocations: 6.812 kB / 0.83 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.966e-05/0.5837, allocations: 35.5 kB / 0.83 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.5838, allocations: 4.891 kB / 0.83 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.343e-05/0.5839, allocations: 164.7 kB / 0.8301 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.5839, allocations: 384 / 0.8301 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.5839, allocations: 3 kB / 0.8301 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.584, allocations: 57.17 kB / 0.8302 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5841, allocations: 0 / 0.8302 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.5841, allocations: 0.75 kB / 0.8302 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5841, allocations: 0 / 0.8302 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.5842, allocations: 37.78 kB / 0.8302 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.5845, allocations: 256 kB / 0.8305 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.5846, allocations: 38.73 kB / 0.8305 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.5847, allocations: 20.47 kB / 0.8305 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.579e-05/0.5848, allocations: 85 kB / 0.8306 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.5848, allocations: 31.17 kB / 0.8307 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5848, allocations: 0 / 0.8307 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003594/0.5852, allocations: 84.89 kB / 0.8307 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.5852, allocations: 54.03 kB / 0.8308 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.5853, allocations: 104.5 kB / 0.8309 GB, free: 476 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.5853, allocations: 29.12 kB / 0.8309 GB, free: 444 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.5853, allocations: 84.98 kB / 0.831 GB, free: 356 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.5853, allocations: 15.77 kB / 0.831 GB, free: 340 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.5853, allocations: 13.75 kB / 0.831 GB, free: 324 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.5854, allocations: 316.4 kB / 0.8313 GB, free: 0 / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.5855, allocations: 13.78 kB / 0.8313 GB, free: 0 / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.5856, allocations: 25.23 kB / 0.8314 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.5857, allocations: 40.55 kB / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5857, allocations: 0 / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.5859, allocations: 63.05 kB / 0.8315 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5859, allocations: 5.25 kB / 0.8315 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5859, allocations: 0.7969 kB / 0.8315 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.586, allocations: 6.625 kB / 0.8315 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.586, allocations: 15.7 kB / 0.8315 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5861, allocations: 0.7031 kB / 0.8315 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.5861, allocations: 4.828 kB / 0.8315 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.5861, allocations: 6.562 kB / 0.8315 GB, free: 15.93 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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 8.362e-05/0.5862, allocations: 114.4 kB / 0.8316 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.5862, allocations: 7.281 kB / 0.8316 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.5865, allocations: 75.09 kB / 0.8317 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5865, allocations: 0 / 0.8317 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5865, allocations: 3.141 kB / 0.8317 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5865, allocations: 0 / 0.8317 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.5866, allocations: 161.4 kB / 0.8318 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5867, allocations: 0 / 0.8318 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.5867, allocations: 7.625 kB / 0.8318 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5867, allocations: 0 / 0.8318 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5867, allocations: 2.016 kB / 0.8319 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5867, allocations: 7.938 kB / 0.8319 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.5867, allocations: 0 / 0.8319 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.587, allocations: 163.4 kB / 0.832 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.587, allocations: 79.3 kB / 0.8321 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.587, allocations: 3.344 kB / 0.8321 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.5871, allocations: 12.73 kB / 0.8321 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.5872, allocations: 2.359 kB / 0.8321 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.5872, allocations: 0.6562 kB / 0.8321 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.5872, allocations: 85.83 kB / 0.8322 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5872, allocations: 0 / 0.8322 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002273/0.5874, allocations: 8.844 kB / 0.8322 GB, free: 15.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006129/0.5881, allocations: 0.7136 MB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.5883, allocations: 37.84 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5883, allocations: 0 / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.5884, allocations: 25.8 kB / 0.833 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.5887, allocations: 6.344 kB / 0.833 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.5891, allocations: 140 kB / 0.8331 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.5894, allocations: 0.6776 MB / 0.8338 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.5894, allocations: 0 / 0.8338 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.5895, allocations: 17.72 kB / 0.8338 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5895, allocations: 0 / 0.8338 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.6074, allocations: 1.505 MB / 0.8352 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.718, allocations: 12.86 kB / 0.8353 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.866539467009716] Failed to read output from testmodel.py, exit status != 0: 8.844790580042172 8.871730304 8.2840226 Calling exit ...