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.001728/0.001728, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.002054/0.002054, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.648/1.648, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.002404/0.002404, allocations: 290.1 kB / 309.8 MB, free: 3.484 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.109/1.109, allocations: 180.6 MB / 0.5338 GB, free: 12.32 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.002807/0.002807, allocations: 103.8 kB / 0.7347 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6091, allocations: 95.34 MB / 0.8278 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002254/0.6114, allocations: 0.6009 MB / 0.8284 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004728/0.6118, allocations: 165.9 kB / 0.8286 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.6119, allocations: 0.8125 kB / 0.8286 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.6119, allocations: 4 kB / 0.8286 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.6119, allocations: 0 / 0.8286 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.6123, allocations: 51.28 kB / 0.8286 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.6123, allocations: 12.72 kB / 0.8286 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.6124, allocations: 3.047 kB / 0.8286 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.6124, allocations: 8.781 kB / 0.8286 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.6125, allocations: 9.562 kB / 0.8287 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.6125, allocations: 0 / 0.8287 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.6126, allocations: 41.36 kB / 0.8287 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.6126, allocations: 0.75 kB / 0.8287 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.6126, allocations: 15.17 kB / 0.8287 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.6127, allocations: 27.27 kB / 0.8287 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6127, allocations: 4 kB / 0.8287 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6127, allocations: 3.031 kB / 0.8287 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6127, allocations: 0 / 0.8287 GB, free: 2.453 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.000356/0.6131, allocations: 337.4 kB / 0.8291 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6131, allocations: 7.219 kB / 0.8291 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.6131, allocations: 3.656 kB / 0.8291 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.923e-05/0.6131, allocations: 31.31 kB / 0.8291 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.6132, allocations: 10.34 kB / 0.8291 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.6133, allocations: 164.5 kB / 0.8293 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.6133, allocations: 384 / 0.8293 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.6133, allocations: 7.25 kB / 0.8293 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.6134, allocations: 50.47 kB / 0.8293 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.6134, allocations: 0 / 0.8293 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.6134, allocations: 0 / 0.8293 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6134, allocations: 0 / 0.8293 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.6135, allocations: 15.05 kB / 0.8293 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.6136, allocations: 172 kB / 0.8295 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.6137, allocations: 45.53 kB / 0.8296 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.6137, allocations: 20.61 kB / 0.8296 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.029e-05/0.6138, allocations: 81.2 kB / 0.8296 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.6138, allocations: 35.16 kB / 0.8297 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.6138, allocations: 0 / 0.8297 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001246/0.6151, allocations: 488 kB / 0.8301 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.6151, allocations: 51.41 kB / 0.8302 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.6152, allocations: 90.7 kB / 0.8303 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6152, allocations: 33.47 kB / 0.8303 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.967e-05/0.6152, allocations: 84.14 kB / 0.8304 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.6152, allocations: 24.61 kB / 0.8304 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.6153, allocations: 21.59 kB / 0.8304 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.6153, allocations: 316.3 kB / 0.8307 GB, free: 376 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.6153, allocations: 17.19 kB / 0.8308 GB, free: 368 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.6154, allocations: 18.06 kB / 0.8308 GB, free: 360 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.6154, allocations: 29.75 kB / 0.8308 GB, free: 344 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.6154, allocations: 2.812 kB / 0.8308 GB, free: 344 kB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.643e-05/0.6155, allocations: 73.33 kB / 0.8309 GB, free: 292 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6155, allocations: 7.438 kB / 0.8309 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6155, allocations: 3.938 kB / 0.8309 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.6156, allocations: 0 / 0.8309 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.6156, allocations: 21.44 kB / 0.8309 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6156, allocations: 0 / 0.8309 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.6157, allocations: 3.594 kB / 0.8309 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.6157, allocations: 7.938 kB / 0.8309 GB, free: 272 kB / 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.842e-05/0.6157, allocations: 112.9 kB / 0.831 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.6157, allocations: 6.812 kB / 0.831 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.6159, allocations: 79.55 kB / 0.8311 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6159, allocations: 0.6094 kB / 0.8311 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6159, allocations: 6.875 kB / 0.8311 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6159, allocations: 0.6094 kB / 0.8311 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.616, allocations: 169.5 kB / 0.8313 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.616, allocations: 4.641 kB / 0.8313 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/0.6161, allocations: 12.45 kB / 0.8313 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6161, allocations: 1.406 kB / 0.8313 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.6161, allocations: 3.156 kB / 0.8313 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6161, allocations: 1 kB / 0.8313 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6161, allocations: 3.984 kB / 0.8313 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.6163, allocations: 123 kB / 0.8314 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.6164, allocations: 82.03 kB / 0.8315 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.6164, allocations: 4.828 kB / 0.8315 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.6164, allocations: 2.781 kB / 0.8315 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.6165, allocations: 5 kB / 0.8315 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.6165, allocations: 2.875 kB / 0.8315 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.6165, allocations: 79.98 kB / 0.8316 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6165, allocations: 160 / 0.8316 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000229/0.6167, allocations: 33.36 kB / 0.8316 GB, free: 15.6 MB / 0.5919 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.0006299/0.6174, allocations: 0.6784 MB / 0.8323 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.6175, allocations: 42.64 kB / 0.8323 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6175, allocations: 2.562 kB / 0.8323 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.6175, allocations: 23.72 kB / 0.8324 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.6177, allocations: 13.06 kB / 0.8324 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.619, allocations: 1.195 MB / 0.8335 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.6193, allocations: 0.6802 MB / 0.8342 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.6193, allocations: 7.484 kB / 0.8342 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.6194, allocations: 14.52 kB / 0.8342 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.6194, allocations: 0 / 0.8342 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.6421, allocations: 1.893 MB / 0.8361 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.732, allocations: 15.72 kB / 0.8361 GB, free: 12.72 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: 13.097482367011253] Failed to read output from testmodel.py, exit status != 0: 8.859339836984873 8.888104346 8.269688324 Calling exit ...