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.0008702/0.0008702, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001288/0.001288, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8263/0.8263, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001396/0.001396, allocations: 229 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.6451/0.6451, allocations: 138.4 MB / 455.1 MB, free: 29.97 MB / 410.7 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.834e-06/1.834e-06, allocations: 0 / 0.6476 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.311e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001282/0.001315, allocations: 0.6042 MB / 0.6482 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003364/0.001651, allocations: 152.2 kB / 0.6483 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.001673, allocations: 0 / 0.6483 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.001689, allocations: 0 / 0.6483 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.001728, allocations: 3.938 kB / 0.6483 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.002025, allocations: 39.89 kB / 0.6484 GB, free: 488 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.002079, allocations: 15.92 kB / 0.6484 GB, free: 472 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.002121, allocations: 4 kB / 0.6484 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.002155, allocations: 11.98 kB / 0.6484 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.002225, allocations: 3.984 kB / 0.6484 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.002241, allocations: 4 kB / 0.6484 GB, free: 448 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.002315, allocations: 35.95 kB / 0.6484 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.002328, allocations: 0 / 0.6484 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.002343, allocations: 4 kB / 0.6484 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.00245, allocations: 39.81 kB / 0.6485 GB, free: 368 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002452, allocations: 0 / 0.6485 GB, free: 368 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002453, allocations: 0 / 0.6485 GB, free: 368 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002457, allocations: 4 kB / 0.6485 GB, free: 364 kB / 0.5573 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.0003179/0.002775, allocations: 254.3 kB / 0.6487 GB, free: 76 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.002814, allocations: 12.73 kB / 0.6487 GB, free: 64 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.002849, allocations: 4.938 kB / 0.6487 GB, free: 60 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2615/0.2644, allocations: 101.8 kB / 0.6488 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2644, allocations: 1.812 kB / 0.6488 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.2644, allocations: 7.375 kB / 0.6488 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2645, allocations: 66.5 kB / 0.6489 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2645, allocations: 1.359 kB / 0.6489 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2646, allocations: 2.094 kB / 0.6489 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2646, allocations: 3.156 kB / 0.6489 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.2646, allocations: 14.62 kB / 0.6489 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.2647, allocations: 112.7 kB / 0.649 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/0.2648, allocations: 44.88 kB / 0.6491 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.2648, allocations: 20.53 kB / 0.6491 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.33e-05/0.2649, allocations: 5.781 kB / 0.6491 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2649, allocations: 37.84 kB / 0.6491 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.2649, allocations: 0.5938 kB / 0.6491 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0009509/0.2659, allocations: 413.6 kB / 0.6495 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.2659, allocations: 53.62 kB / 0.6496 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.764e-05/0.2659, allocations: 93.47 kB / 0.6497 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.266, allocations: 30.58 kB / 0.6497 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-06/0.266, allocations: 81.8 kB / 0.6498 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.266, allocations: 29.12 kB / 0.6498 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.266, allocations: 20.86 kB / 0.6498 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.2661, allocations: 319.5 kB / 0.6501 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.2661, allocations: 11.72 kB / 0.6501 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.2661, allocations: 18.75 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.2662, allocations: 35.23 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2662, allocations: 0 / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.715e-05/0.2663, allocations: 74.56 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2663, allocations: 5 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2663, allocations: 2.125 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2663, allocations: 0.7656 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.2664, allocations: 14.09 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2664, allocations: 1.031 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.2664, allocations: 3.141 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2664, allocations: 6.344 kB / 0.6503 GB, free: 55.94 MB / 0.5573 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.175e-05/0.2664, allocations: 116.1 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.2664, allocations: 7.938 kB / 0.6504 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.2666, allocations: 84.41 kB / 0.6505 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2666, allocations: 2.062 kB / 0.6505 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2666, allocations: 1.578 kB / 0.6505 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2666, allocations: 0 / 0.6505 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.65e-05/0.2667, allocations: 114.7 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2667, allocations: 0 / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.2667, allocations: 21.05 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2667, allocations: 0 / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2667, allocations: 4.547 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2667, allocations: 2.406 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2667, allocations: 0 / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.2669, allocations: 122.4 kB / 0.6508 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.2669, allocations: 9.031 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2669, allocations: 3.188 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.537e-05/0.2669, allocations: 3.047 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.2669, allocations: 6.641 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2669, allocations: 3.406 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.286e-05/0.2669, allocations: 80.23 kB / 0.6509 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2669, allocations: 0 / 0.6509 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001602/0.2671, allocations: 30.3 kB / 0.6509 GB, free: 55.52 MB / 0.5573 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.0001806/0.2673, allocations: 133.1 kB / 0.651 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.2674, allocations: 38.45 kB / 0.651 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2674, allocations: 6.594 kB / 0.6511 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.2674, allocations: 19.41 kB / 0.6511 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.2675, allocations: 8.344 kB / 0.6511 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.2678, allocations: 156.8 kB / 0.6512 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.2679, allocations: 64.17 kB / 0.6513 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.2679, allocations: 15.22 kB / 0.6513 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.2679, allocations: 1.359 kB / 0.6513 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.002271/0.2702, allocations: 0.9409 MB / 0.6522 GB, free: 55.19 MB / 0.5573 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 os._exit(0), Time elapsed: 5.270328929647803] Failed to read output from testmodel.py, exit status != 0: 0.2760189035907388 0.28502736300000003 0.280714646 Calling exit ...