Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.0007277/0.0007277, 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.001052/0.001052, 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.8586/0.8586, 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.001411/0.001411, allocations: 237.1 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.6827/0.6827, allocations: 138.4 MB / 454.3 MB, free: 30.04 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.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.5e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001528/0.001543, allocations: 1.476 MB / 0.6477 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000265/0.001808, allocations: 136.5 kB / 0.6479 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.001833, allocations: 3.938 kB / 0.6479 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.001867, allocations: 0 / 0.6479 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.001919, allocations: 7.875 kB / 0.6479 GB, free: 212 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.002103, allocations: 39.89 kB / 0.6479 GB, free: 172 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.002177, allocations: 35.91 kB / 0.648 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.002264, allocations: 19.97 kB / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.002304, allocations: 27.92 kB / 0.648 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.002334, allocations: 15.98 kB / 0.648 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.002346, allocations: 4 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.00241, allocations: 31.91 kB / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.002425, allocations: 15.92 kB / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.002442, allocations: 8 kB / 0.6481 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.236/0.2385, allocations: 66.92 kB / 0.6481 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2385, allocations: 0 / 0.6481 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2385, allocations: 0 / 0.6481 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.2385, allocations: 2.094 kB / 0.6481 GB, free: 55.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003352/0.2388, allocations: 282.3 kB / 0.6484 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2389, allocations: 12.33 kB / 0.6484 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.2389, allocations: 36.77 kB / 0.6485 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.2395, allocations: 211.1 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.2396, allocations: 110.5 kB / 0.6488 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2396, allocations: 3.062 kB / 0.6488 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2396, allocations: 5.125 kB / 0.6488 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.24, allocations: 193.2 kB / 0.649 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.24, allocations: 2.625 kB / 0.649 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.24, allocations: 4.188 kB / 0.649 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.24, allocations: 5.469 kB / 0.649 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.2405, allocations: 280.5 kB / 0.6492 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.2411, allocations: 398.7 kB / 0.6496 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.2417, allocations: 288.3 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.2419, allocations: 107.3 kB / 0.65 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.2419, allocations: 6.531 kB / 0.65 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.242, allocations: 32.28 kB / 0.65 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.953e-06/0.242, allocations: 1.375 kB / 0.65 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000646/0.2426, allocations: 305.9 kB / 0.6503 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.2426, allocations: 57.25 kB / 0.6504 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.2427, allocations: 124.4 kB / 0.6505 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.2427, allocations: 25.7 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.2427, allocations: 87.2 kB / 0.6506 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.2427, allocations: 11.77 kB / 0.6506 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.2428, allocations: 17.62 kB / 0.6506 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.772e-05/0.2428, allocations: 317.8 kB / 0.6509 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.243, allocations: 99.66 kB / 0.651 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.2432, allocations: 94.62 kB / 0.6511 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.2435, allocations: 173.4 kB / 0.6513 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2435, allocations: 2 kB / 0.6513 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003789/0.2439, allocations: 215.5 kB / 0.6515 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2439, allocations: 9.188 kB / 0.6515 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2439, allocations: 0 / 0.6515 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2439, allocations: 3.016 kB / 0.6515 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2441, allocations: 33.55 kB / 0.6515 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.2441, allocations: 0.6562 kB / 0.6515 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.2442, allocations: 36.22 kB / 0.6516 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2442, allocations: 5.141 kB / 0.6516 GB, free: 54.37 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 (3): * Single equations (assignments): 3 * 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.214e-05/0.2442, allocations: 122.4 kB / 0.6517 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.2442, allocations: 5.156 kB / 0.6517 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.2443, allocations: 12.44 kB / 0.6517 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2443, allocations: 1.344 kB / 0.6517 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2443, allocations: 1.719 kB / 0.6517 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2443, allocations: 2.938 kB / 0.6517 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2444, allocations: 164.5 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2444, allocations: 4.391 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.2445, allocations: 31.03 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2445, allocations: 1.594 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2445, allocations: 4.359 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2445, allocations: 4 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2445, allocations: 3.844 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.2449, allocations: 309.1 kB / 0.6522 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.245, allocations: 10.38 kB / 0.6522 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.245, allocations: 5.203 kB / 0.6522 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.2451, allocations: 29.08 kB / 0.6523 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.2451, allocations: 3.906 kB / 0.6523 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2451, allocations: 5.141 kB / 0.6523 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.2451, allocations: 95.12 kB / 0.6524 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2451, allocations: 2.625 kB / 0.6524 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001515/0.2453, allocations: 16.03 kB / 0.6524 GB, free: 53.87 MB / 0.5573 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 (3): * Single equations (assignments): 3 * 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.0005114/0.2458, allocations: 0.8359 MB / 0.6532 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.2462, allocations: 196.1 kB / 0.6534 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2462, allocations: 3.375 kB / 0.6534 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2464, allocations: 98.52 kB / 0.6535 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.2466, allocations: 8.156 kB / 0.6535 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.2483, allocations: 1.846 MB / 0.6553 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.2484, allocations: 80.2 kB / 0.6554 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.539e-05/0.2484, allocations: 21.03 kB / 0.6554 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.2485, allocations: 19.41 kB / 0.6554 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of SimCode: time 9.32e-07/0.2485, allocations: 1.875 kB / 0.6554 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.264, allocations: 2.692 MB / 0.658 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/6.636, allocations: 11.84 kB / 0.658 GB, free: 51.11 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.301214404404163] Failed to read output from testmodel.py, exit status != 0: 6.711344036273658 6.718894903 6.478992103 Calling exit ...