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.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.001385/0.001385, allocations: 80.14 kB / 19.18 MB, free: 2.516 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.00146/0.00146, allocations: 159.4 kB / 22.46 MB, free: 5.375 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.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.002482/0.002482, allocations: 246.1 kB / 259.4 MB, free: 456 kB / 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.067/1.067, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.1 MB " [Timeout remaining time 179] 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6468 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.614e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001628/0.001654, allocations: 0.6197 MB / 0.6475 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.002063, allocations: 155.3 kB / 0.6476 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.002086, allocations: 0 / 0.6476 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.002098, allocations: 0 / 0.6476 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.332e-05/0.002121, allocations: 0 / 0.6476 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.002408, allocations: 39.89 kB / 0.6476 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.845e-05/0.002456, allocations: 8 kB / 0.6476 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.002498, allocations: 8 kB / 0.6477 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.002533, allocations: 11.97 kB / 0.6477 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.002595, allocations: 7.984 kB / 0.6477 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.002608, allocations: 0 / 0.6477 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.002697, allocations: 35.91 kB / 0.6477 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.002713, allocations: 3.984 kB / 0.6477 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.002731, allocations: 7.938 kB / 0.6477 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.002843, allocations: 39.88 kB / 0.6478 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002845, allocations: 0 / 0.6478 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002845, allocations: 0 / 0.6478 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002849, allocations: 0 / 0.6478 GB, free: 4.047 MB / 0.5606 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.0003885/0.003237, allocations: 258.3 kB / 0.648 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.003282, allocations: 12.73 kB / 0.648 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.003314, allocations: 0.9375 kB / 0.648 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.003429, allocations: 109.8 kB / 0.6481 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.00344, allocations: 384 / 0.6481 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.003468, allocations: 4.375 kB / 0.6481 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.003608, allocations: 67.95 kB / 0.6482 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.003617, allocations: 192 / 0.6482 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.003625, allocations: 384 / 0.6482 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.00363, allocations: 4.312 kB / 0.6482 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.003683, allocations: 23.86 kB / 0.6482 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.003846, allocations: 109.3 kB / 0.6483 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.003949, allocations: 42.62 kB / 0.6484 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.009e-05/0.003989, allocations: 20.97 kB / 0.6484 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.004057, allocations: 4 kB / 0.6484 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.00409, allocations: 34.56 kB / 0.6484 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.004091, allocations: 0 / 0.6484 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001253/0.005343, allocations: 419.1 kB / 0.6488 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.005381, allocations: 55.34 kB / 0.6489 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.005463, allocations: 101.9 kB / 0.649 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.005482, allocations: 29.64 kB / 0.649 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.00552, allocations: 81.44 kB / 0.6491 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.005553, allocations: 23.8 kB / 0.6491 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.0056, allocations: 21.7 kB / 0.6491 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.005741, allocations: 314.8 kB / 0.6494 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.005772, allocations: 11.98 kB / 0.6494 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.005797, allocations: 12 kB / 0.6494 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.005871, allocations: 40.84 kB / 0.6495 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.005872, allocations: 0 / 0.6495 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000126/0.005998, allocations: 69.58 kB / 0.6495 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.006011, allocations: 8.125 kB / 0.6496 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.006017, allocations: 4 kB / 0.6496 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006029, allocations: 0 / 0.6496 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.006108, allocations: 8 kB / 0.6496 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.006113, allocations: 7.938 kB / 0.6496 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.006138, allocations: 4 kB / 0.6496 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.006144, allocations: 0 / 0.6496 GB, free: 1.953 MB / 0.5606 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 8.051e-05/0.006225, allocations: 113.8 kB / 0.6497 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.006236, allocations: 0 / 0.6497 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.006424, allocations: 93.56 kB / 0.6498 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006426, allocations: 0 / 0.6498 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.006431, allocations: 3.938 kB / 0.6498 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.006438, allocations: 7.984 kB / 0.6498 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.006542, allocations: 109.2 kB / 0.6499 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006543, allocations: 0 / 0.6499 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.006625, allocations: 16 kB / 0.6499 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006627, allocations: 0 / 0.6499 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.006637, allocations: 4 kB / 0.6499 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006638, allocations: 0 / 0.6499 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006639, allocations: 0.5781 kB / 0.6499 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.006843, allocations: 132.9 kB / 0.65 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006852, allocations: 8 kB / 0.65 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.006871, allocations: 7.984 kB / 0.6501 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.006918, allocations: 4 kB / 0.6501 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.006932, allocations: 0 / 0.6501 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.006944, allocations: 11.92 kB / 0.6501 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.006981, allocations: 75.28 kB / 0.6501 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.006981, allocations: 0 / 0.6501 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002302/0.007211, allocations: 31.94 kB / 0.6502 GB, free: 1.277 MB / 0.5606 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.0002124/0.007424, allocations: 131.3 kB / 0.6503 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.007536, allocations: 47.84 kB / 0.6503 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007538, allocations: 0 / 0.6503 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.007575, allocations: 19.98 kB / 0.6504 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.007721, allocations: 8 kB / 0.6504 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.008033, allocations: 132.7 kB / 0.6505 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.008087, allocations: 69.78 kB / 0.6506 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.008126, allocations: 11.98 kB / 0.6506 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.008151, allocations: 12.5 kB / 0.6506 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.008151, allocations: 0 / 0.6506 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of Templates: time 0.233/0.2412, allocations: 0.8667 MB / 0.6514 GB, free: 56.7 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.721686605364084] Failed to read output from testmodel.py, exit status != 0: 0.2488267570734024 0.257617328 0.25263210799999997 Calling exit ...