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.0007293/0.0007293, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007604/0.0007604, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8753/0.8753, allocations: 177.1 MB / 202.8 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.001453/0.001453, allocations: 250.2 kB / 259.4 MB, free: 13.02 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.6515/0.6515, allocations: 138.4 MB / 454.3 MB, free: 30.09 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.814e-06/1.814e-06, allocations: 0 / 0.6463 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.83e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001384/0.001412, allocations: 0.6113 MB / 0.6469 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003454/0.001758, allocations: 148.1 kB / 0.6471 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.001783, allocations: 4 kB / 0.6471 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.0018, allocations: 0 / 0.6471 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.148e-05/0.001822, allocations: 0 / 0.6471 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.002168, allocations: 39.83 kB / 0.6471 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.002226, allocations: 19.97 kB / 0.6471 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.002269, allocations: 0 / 0.6471 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.002305, allocations: 19.92 kB / 0.6472 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.002371, allocations: 0 / 0.6472 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.002387, allocations: 4 kB / 0.6472 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.002461, allocations: 27.95 kB / 0.6472 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.00248, allocations: 15.92 kB / 0.6472 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.002497, allocations: 0 / 0.6472 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.002608, allocations: 43.81 kB / 0.6472 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.002611, allocations: 4 kB / 0.6473 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.002612, allocations: 0 / 0.6473 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.002617, allocations: 0 / 0.6473 GB, free: 0.9023 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.000327/0.002944, allocations: 250.4 kB / 0.6475 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.002988, allocations: 9.938 kB / 0.6475 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.003019, allocations: 38.73 kB / 0.6475 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.003044, allocations: 0.9375 kB / 0.6475 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.967e-05/0.003113, allocations: 109.7 kB / 0.6476 GB, free: 448 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.003123, allocations: 8.375 kB / 0.6477 GB, free: 440 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.003142, allocations: 384 / 0.6477 GB, free: 440 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.00326, allocations: 71.95 kB / 0.6477 GB, free: 356 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.003267, allocations: 4.172 kB / 0.6477 GB, free: 352 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.003276, allocations: 384 / 0.6477 GB, free: 352 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.003282, allocations: 8.125 kB / 0.6477 GB, free: 344 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.003325, allocations: 19.92 kB / 0.6478 GB, free: 324 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.003475, allocations: 120.8 kB / 0.6479 GB, free: 160 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.003554, allocations: 42.62 kB / 0.6479 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.003581, allocations: 24.91 kB / 0.6479 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-05/0.003674, allocations: 4 kB / 0.6479 GB, free: 76 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.003697, allocations: 30.56 kB / 0.648 GB, free: 36 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.003698, allocations: 8 kB / 0.648 GB, free: 28 kB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.256/0.2597, allocations: 404.8 kB / 0.6484 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2598, allocations: 54.3 kB / 0.6484 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.696e-05/0.2598, allocations: 93.39 kB / 0.6485 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.2598, allocations: 31.77 kB / 0.6485 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.398e-06/0.2598, allocations: 81.05 kB / 0.6486 GB, free: 56.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2598, allocations: 29.66 kB / 0.6486 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.2599, allocations: 22.89 kB / 0.6487 GB, free: 56.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.425e-05/0.2599, allocations: 316.8 kB / 0.649 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.2599, allocations: 11.64 kB / 0.649 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.26, allocations: 13.34 kB / 0.649 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.26, allocations: 37.03 kB / 0.649 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.26, allocations: 2.094 kB / 0.649 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.412e-05/0.2601, allocations: 69.34 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2601, allocations: 9.656 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2601, allocations: 4.5 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2602, allocations: 0.6875 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.2602, allocations: 16.33 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2602, allocations: 1.656 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.2603, allocations: 2.469 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2603, allocations: 3.922 kB / 0.6491 GB, free: 56.22 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.657e-05/0.2603, allocations: 114.1 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.2603, allocations: 5.125 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.2605, allocations: 82.83 kB / 0.6493 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2605, allocations: 2.156 kB / 0.6493 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2605, allocations: 1.344 kB / 0.6493 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2605, allocations: 1.281 kB / 0.6493 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.933e-05/0.2606, allocations: 136.1 kB / 0.6495 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2606, allocations: 8.594 kB / 0.6495 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.2606, allocations: 17.86 kB / 0.6495 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2606, allocations: 0.6562 kB / 0.6495 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2606, allocations: 0.9688 kB / 0.6495 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2606, allocations: 1.562 kB / 0.6495 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2606, allocations: 2.625 kB / 0.6495 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2608, allocations: 115.9 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.2608, allocations: 7.359 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2608, allocations: 4.859 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.2609, allocations: 5.547 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.2609, allocations: 6.797 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2609, allocations: 1.266 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.701e-05/0.2609, allocations: 83.08 kB / 0.6497 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2609, allocations: 0 / 0.6497 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001812/0.2611, allocations: 29.33 kB / 0.6497 GB, free: 55.77 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.0003701/0.2614, allocations: 0.6848 MB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.2616, allocations: 40.69 kB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2616, allocations: 1 kB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.2616, allocations: 22.14 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.0001273/0.2617, allocations: 7 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.0007136/0.2624, allocations: 1.198 MB / 0.6516 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.2625, allocations: 69.28 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.2625, allocations: 9.469 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.2626, allocations: 16.14 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/0.2626, allocations: 3.938 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.2808, allocations: 2.478 MB / 0.6541 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.518/6.799, allocations: 9.703 kB / 0.6542 GB, free: 53.25 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.429452658630908] Failed to read output from testmodel.py, exit status != 0: 6.877455938607454 6.886529512 6.88192781 Calling exit ...