Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005182/0.005182, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001162/0.001162, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.91 kB / 0.7258 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5225, allocations: 104.7 MB / 0.8281 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001903/0.5245, allocations: 0.6069 MB / 0.8287 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005468/0.525, allocations: 157.4 kB / 0.8288 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.5251, allocations: 0 / 0.8288 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.5251, allocations: 0 / 0.8288 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 3.276e-05/0.5251, allocations: 0 / 0.8288 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.5255, allocations: 51.83 kB / 0.8289 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.5256, allocations: 12 kB / 0.8289 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.5256, allocations: 3.984 kB / 0.8289 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.5256, allocations: 11.88 kB / 0.8289 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.5257, allocations: 11.98 kB / 0.8289 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.5258, allocations: 0 / 0.8289 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.5258, allocations: 35.95 kB / 0.8289 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.5259, allocations: 3.938 kB / 0.8289 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.5259, allocations: 8 kB / 0.829 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.526, allocations: 31.88 kB / 0.829 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.526, allocations: 0 / 0.829 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.432e-06/0.526, allocations: 4 kB / 0.829 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.526, allocations: 0 / 0.829 GB, free: 1.688 MB / 0.6231 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.000405/0.5264, allocations: 331.6 kB / 0.8293 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5265, allocations: 8.031 kB / 0.8293 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.5265, allocations: 4.938 kB / 0.8293 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5266, allocations: 163.9 kB / 0.8295 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.5267, allocations: 384 / 0.8295 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.5267, allocations: 4.375 kB / 0.8295 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.5268, allocations: 54.19 kB / 0.8295 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5268, allocations: 192 / 0.8295 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5268, allocations: 3.938 kB / 0.8295 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5269, allocations: 0 / 0.8295 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.5269, allocations: 11.98 kB / 0.8295 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.5271, allocations: 165.6 kB / 0.8297 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.224e-05/0.5272, allocations: 42.62 kB / 0.8297 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.5272, allocations: 20.97 kB / 0.8298 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/0.5273, allocations: 89.05 kB / 0.8298 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.5274, allocations: 30.56 kB / 0.8299 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.5274, allocations: 0 / 0.8299 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.001242/0.5286, allocations: 492.2 kB / 0.8303 GB, free: 44 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.5287, allocations: 55.34 kB / 0.8304 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.5287, allocations: 97.95 kB / 0.8305 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.5288, allocations: 33.73 kB / 0.8305 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.5288, allocations: 80.14 kB / 0.8306 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.5288, allocations: 29.89 kB / 0.8306 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.5289, allocations: 17.72 kB / 0.8306 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.529, allocations: 310.8 kB / 0.8309 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.529, allocations: 15.98 kB / 0.831 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.529, allocations: 12 kB / 0.831 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.566e-05/0.5291, allocations: 41 kB / 0.831 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5291, allocations: 4 kB / 0.831 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.778e-05/0.5292, allocations: 73.67 kB / 0.8311 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.5292, allocations: 7.938 kB / 0.8311 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.5292, allocations: 0 / 0.8311 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5293, allocations: 0 / 0.8311 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.5293, allocations: 12 kB / 0.8311 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5294, allocations: 0 / 0.8311 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.5294, allocations: 7.984 kB / 0.8311 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.5294, allocations: 7.875 kB / 0.8311 GB, free: 15.2 MB / 0.6387 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 7.2e-05/0.5295, allocations: 117.8 kB / 0.8312 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.5295, allocations: 7.844 kB / 0.8312 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.5297, allocations: 81.64 kB / 0.8313 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5297, allocations: 0 / 0.8313 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5297, allocations: 0 / 0.8313 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5297, allocations: 3.984 kB / 0.8313 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.5298, allocations: 169.6 kB / 0.8315 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5298, allocations: 0 / 0.8315 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.5299, allocations: 15.94 kB / 0.8315 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5299, allocations: 8.125 kB / 0.8315 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5299, allocations: 4 kB / 0.8315 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5299, allocations: 4 kB / 0.8315 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5299, allocations: 0 / 0.8315 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.5301, allocations: 109.1 kB / 0.8316 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.5301, allocations: 88.94 kB / 0.8317 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.5301, allocations: 4.031 kB / 0.8317 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.5302, allocations: 0 / 0.8317 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.5302, allocations: 12 kB / 0.8317 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.5302, allocations: 0 / 0.8317 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.874e-05/0.5303, allocations: 87.22 kB / 0.8318 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5303, allocations: 0 / 0.8318 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002062/0.5305, allocations: 31.98 kB / 0.8318 GB, free: 14.36 MB / 0.6387 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.0002039/0.5307, allocations: 132.3 kB / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.5308, allocations: 35.98 kB / 0.832 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5308, allocations: 4.094 kB / 0.832 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.5308, allocations: 23.94 kB / 0.832 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.531, allocations: 7.984 kB / 0.832 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.5313, allocations: 129.5 kB / 0.8321 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.5315, allocations: 0.6844 MB / 0.8328 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.5315, allocations: 12.47 kB / 0.8328 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.5316, allocations: 19.44 kB / 0.8328 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of SimCode: time 2.01e-07/0.5316, allocations: 0 / 0.8328 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of Templates: time 0.002895/0.5345, allocations: 0.8808 MB / 0.8337 GB, free: 12.42 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)