Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.0007486/0.0007486, 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.0007594/0.0007594, allocations: 165.9 kB / 22.46 MB, free: 2.102 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.8299/0.8299, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001447/0.001447, allocations: 233.8 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.6376/0.6376, allocations: 138.4 MB / 454.3 MB, free: 1.609 MB / 362.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.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6463 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.082e-05, allocations: 2.281 kB / 0.6463 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001831/0.001852, allocations: 1.483 MB / 0.6478 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006896/0.002541, allocations: 0.5828 MB / 0.6483 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.002593, allocations: 0 / 0.6483 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.002619, allocations: 3.938 kB / 0.6483 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.002659, allocations: 5.109 kB / 0.6483 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.002932, allocations: 57.62 kB / 0.6484 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.003025, allocations: 27.58 kB / 0.6484 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.003114, allocations: 15.64 kB / 0.6484 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.00326, allocations: 33.81 kB / 0.6485 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.00331, allocations: 4.156 kB / 0.6485 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.003327, allocations: 1.375 kB / 0.6485 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.003454, allocations: 53.48 kB / 0.6485 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.003467, allocations: 15.91 kB / 0.6485 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.00349, allocations: 3.25 kB / 0.6485 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.003669, allocations: 82.72 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.003676, allocations: 1.156 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/0.003678, allocations: 0 / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.003684, allocations: 4 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003958/0.00408, allocations: 273.9 kB / 0.6489 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.004128, allocations: 10.5 kB / 0.6489 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.565e-05/0.004153, allocations: 30.75 kB / 0.6489 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.004282, allocations: 17.12 kB / 0.6489 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.004453, allocations: 118.8 kB / 0.6491 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.004461, allocations: 384 / 0.6491 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.00447, allocations: 9.562 kB / 0.6491 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.004573, allocations: 46.38 kB / 0.6491 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004579, allocations: 9.312 kB / 0.6491 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.004588, allocations: 4.125 kB / 0.6491 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.004592, allocations: 0 / 0.6491 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.004646, allocations: 19.67 kB / 0.6491 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.00486, allocations: 219.8 kB / 0.6493 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.004925, allocations: 32.5 kB / 0.6494 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.004952, allocations: 21.98 kB / 0.6494 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.005283, allocations: 93.8 kB / 0.6495 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.0053, allocations: 36.09 kB / 0.6495 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.005301, allocations: 1.531 kB / 0.6495 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/0.005481, allocations: 57.92 kB / 0.6496 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.005499, allocations: 52.59 kB / 0.6496 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.747e-05/0.005547, allocations: 113 kB / 0.6497 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.005553, allocations: 31.23 kB / 0.6498 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.005574, allocations: 82.14 kB / 0.6498 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.005588, allocations: 11.89 kB / 0.6499 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.005609, allocations: 12.75 kB / 0.6499 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.5e-05/0.005634, allocations: 324.1 kB / 0.6502 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.005657, allocations: 5.719 kB / 0.6502 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.005676, allocations: 9.891 kB / 0.6502 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.00572, allocations: 29.84 kB / 0.6502 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005722, allocations: 4.062 kB / 0.6502 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.317e-05/0.005785, allocations: 58.92 kB / 0.6503 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.005798, allocations: 5.125 kB / 0.6503 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.005803, allocations: 0 / 0.6503 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.005815, allocations: 1.188 kB / 0.6503 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.005869, allocations: 11.33 kB / 0.6503 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005873, allocations: 5.062 kB / 0.6503 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.005889, allocations: 2.312 kB / 0.6503 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005893, allocations: 0 / 0.6503 GB, free: 25.46 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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 3.369e-05/0.005927, allocations: 112.8 kB / 0.6504 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.005939, allocations: 10.03 kB / 0.6504 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006043, allocations: 63.72 kB / 0.6505 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006045, allocations: 0 / 0.6505 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.00605, allocations: 0 / 0.6505 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006053, allocations: 0 / 0.6505 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.663e-05/0.006129, allocations: 131.6 kB / 0.6506 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.006135, allocations: 5.062 kB / 0.6506 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.006156, allocations: 12.7 kB / 0.6506 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006157, allocations: 4.031 kB / 0.6506 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.006163, allocations: 0 / 0.6506 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006164, allocations: 1.312 kB / 0.6506 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.006165, allocations: 0 / 0.6506 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.279e-05/0.006237, allocations: 150 kB / 0.6508 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.006245, allocations: 10.33 kB / 0.6508 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.006255, allocations: 0 / 0.6508 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.006284, allocations: 2.625 kB / 0.6508 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.006311, allocations: 1.25 kB / 0.6508 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.006313, allocations: 4.016 kB / 0.6508 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.042e-05/0.006334, allocations: 91.53 kB / 0.6509 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006334, allocations: 0 / 0.6509 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001545/0.006488, allocations: 20.09 kB / 0.6509 GB, free: 24.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002411/0.006729, allocations: 0.7022 MB / 0.6516 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.735e-05/0.006817, allocations: 22.64 kB / 0.6516 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006818, allocations: 0 / 0.6516 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.006841, allocations: 18.8 kB / 0.6516 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.006995, allocations: 6.094 kB / 0.6516 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.007618, allocations: 1.253 MB / 0.6529 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.007649, allocations: 67.84 kB / 0.6529 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.007671, allocations: 5.453 kB / 0.6529 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.007699, allocations: 18 kB / 0.6529 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.0077, allocations: 0 / 0.6529 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.02205, allocations: 2.304 MB / 0.6552 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.384/6.406, allocations: 2.562 kB / 0.6552 GB, free: 21.36 MB / 0.5105 GB " [Timeout remaining time 654] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.141080564819276] Failed to read output from testmodel.py, exit status != 0: 6.481399840675294 6.488340738 6.4830656 Calling exit ...