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.0007096/0.0007096, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0007216/0.0007216, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8859/0.8859, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001438/0.001438, allocations: 247.9 kB / 259.4 MB, free: 13.01 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.6815/0.6815, allocations: 138.4 MB / 454.3 MB, free: 30.02 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6463 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.541e-05, allocations: 5.375 kB / 0.6464 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001255/0.001281, allocations: 0.6007 MB / 0.6469 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003287/0.001609, allocations: 156.1 kB / 0.6471 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.001632, allocations: 3.938 kB / 0.6471 GB, free: 1 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.001648, allocations: 0 / 0.6471 GB, free: 1 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 1.965e-05/0.001668, allocations: 4 kB / 0.6471 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.001974, allocations: 47.58 kB / 0.6471 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.002028, allocations: 4 kB / 0.6471 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.002072, allocations: 7.984 kB / 0.6472 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.002105, allocations: 11.94 kB / 0.6472 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.00217, allocations: 11.97 kB / 0.6472 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.002184, allocations: 0 / 0.6472 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.002256, allocations: 31.97 kB / 0.6472 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.002268, allocations: 0 / 0.6472 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.002283, allocations: 7.938 kB / 0.6472 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.002385, allocations: 39.88 kB / 0.6473 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.002388, allocations: 3.938 kB / 0.6473 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.00239, allocations: 0 / 0.6473 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.002396, allocations: 7.984 kB / 0.6473 GB, free: 0.8281 MB / 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.0003348/0.002731, allocations: 246.4 kB / 0.6475 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.002773, allocations: 13.94 kB / 0.6475 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.002803, allocations: 34.75 kB / 0.6475 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.002829, allocations: 0.9375 kB / 0.6475 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.159e-05/0.002901, allocations: 113.7 kB / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002911, allocations: 384 / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.002932, allocations: 4.375 kB / 0.6477 GB, free: 368 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.003043, allocations: 71.95 kB / 0.6477 GB, free: 284 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.003051, allocations: 192 / 0.6477 GB, free: 284 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.003062, allocations: 4.375 kB / 0.6477 GB, free: 280 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.003069, allocations: 4.125 kB / 0.6477 GB, free: 276 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.003109, allocations: 15.92 kB / 0.6478 GB, free: 260 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.00325, allocations: 136.8 kB / 0.6479 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.003331, allocations: 38.56 kB / 0.6479 GB, free: 32 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.003357, allocations: 16.98 kB / 0.6479 GB, free: 12 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/0.003443, allocations: 7.984 kB / 0.6479 GB, free: 4 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2425/0.246, allocations: 31.91 kB / 0.648 GB, free: 57.13 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 4.319e-06/0.246, allocations: 2.812 kB / 0.648 GB, free: 57.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.001122/0.2471, allocations: 407.3 kB / 0.6484 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2471, allocations: 56.72 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.2472, allocations: 93.89 kB / 0.6485 GB, free: 56.72 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.2472, allocations: 27.48 kB / 0.6485 GB, free: 56.69 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.122e-05/0.2472, allocations: 83.86 kB / 0.6486 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.2472, allocations: 28.03 kB / 0.6486 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2472, allocations: 21.17 kB / 0.6487 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.2473, allocations: 315.2 kB / 0.649 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.2473, allocations: 12.08 kB / 0.649 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.2473, allocations: 14.03 kB / 0.649 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.2474, allocations: 39.08 kB / 0.649 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2474, allocations: 0.8125 kB / 0.649 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.514e-05/0.2475, allocations: 68.67 kB / 0.6491 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2475, allocations: 5.312 kB / 0.6491 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.2475, allocations: 4.016 kB / 0.6491 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2475, allocations: 0.7812 kB / 0.6491 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.2476, allocations: 14.92 kB / 0.6491 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2476, allocations: 1.406 kB / 0.6491 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.2476, allocations: 4.266 kB / 0.6491 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.2477, allocations: 2.625 kB / 0.6491 GB, free: 56.23 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 5.211e-05/0.2477, allocations: 120.7 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.2477, allocations: 4.203 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.2479, allocations: 80.2 kB / 0.6493 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2479, allocations: 1.5 kB / 0.6493 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2479, allocations: 3.594 kB / 0.6493 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2479, allocations: 5.172 kB / 0.6493 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.329e-05/0.248, allocations: 140.7 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.248, allocations: 2.188 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.2481, allocations: 15.34 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2481, allocations: 1.375 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2481, allocations: 2.219 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2481, allocations: 1.344 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2481, allocations: 2.531 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.2482, allocations: 123.3 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.2483, allocations: 1.562 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2483, allocations: 4.547 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.991e-05/0.2483, allocations: 5.484 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.2483, allocations: 4.906 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.2483, allocations: 6.297 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.524e-05/0.2483, allocations: 79.16 kB / 0.6497 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2483, allocations: 0 / 0.6497 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001755/0.2485, allocations: 33.61 kB / 0.6497 GB, free: 55.78 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.000368/0.2489, allocations: 0.6852 MB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.249, allocations: 41.31 kB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.249, allocations: 0 / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.249, allocations: 21.97 kB / 0.6505 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.2492, allocations: 5.156 kB / 0.6505 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.2499, allocations: 1.204 MB / 0.6516 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.2499, allocations: 64.86 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.2499, allocations: 9.641 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.25, allocations: 15.94 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.25, allocations: 0 / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.2658, allocations: 2.477 MB / 0.6541 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/6.822, allocations: 5.766 kB / 0.6542 GB, free: 53.23 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.378723529167473] Failed to read output from testmodel.py, exit status != 0: 6.898838724009693 6.907835586 6.903340265 Calling exit ...