Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.0008089/0.0008089, 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.0008963/0.0008963, 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.8534/0.8534, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001439/0.001439, allocations: 230.5 kB / 259.4 MB, free: 13 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.6302/0.6302, allocations: 138.4 MB / 454.3 MB, free: 1.605 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.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.875e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.001911/0.001929, allocations: 1.775 MB / 0.648 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.002745, allocations: 0.6974 MB / 0.6487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.002825, allocations: 2.062 kB / 0.6487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.002862, allocations: 15.81 kB / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.643e-05/0.002929, allocations: 18.2 kB / 0.6488 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.003517, allocations: 177.2 kB / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.003712, allocations: 133.6 kB / 0.6491 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.003868, allocations: 37.23 kB / 0.6491 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.00407, allocations: 90.09 kB / 0.6492 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.004139, allocations: 32.59 kB / 0.6492 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.004164, allocations: 11.03 kB / 0.6492 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.004271, allocations: 54.62 kB / 0.6493 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.004296, allocations: 29.5 kB / 0.6493 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.004331, allocations: 36.86 kB / 0.6493 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.004513, allocations: 172.5 kB / 0.6495 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.004516, allocations: 1.062 kB / 0.6495 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004517, allocations: 4 kB / 0.6495 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.004522, allocations: 0 / 0.6495 GB, free: 26.61 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003913/0.004913, allocations: 367.9 kB / 0.6499 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.004952, allocations: 9.531 kB / 0.6499 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.004982, allocations: 37.25 kB / 0.6499 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005093/0.005492, allocations: 135.6 kB / 0.65 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.005748, allocations: 163 kB / 0.6502 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.005819, allocations: 114.8 kB / 0.6503 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.005837, allocations: 5.844 kB / 0.6503 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.006141, allocations: 231.5 kB / 0.6505 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.006149, allocations: 5.453 kB / 0.6505 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.006164, allocations: 0 / 0.6505 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.006168, allocations: 2.438 kB / 0.6505 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.006454, allocations: 164.4 kB / 0.6507 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.007063, allocations: 423.2 kB / 0.6511 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.007531, allocations: 212.3 kB / 0.6513 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.007671, allocations: 81.83 kB / 0.6514 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.007694, allocations: 2.438 kB / 0.6514 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.00771, allocations: 31.72 kB / 0.6514 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.007711, allocations: 4 kB / 0.6514 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005315/0.008242, allocations: 267.5 kB / 0.6517 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.008262, allocations: 56.53 kB / 0.6517 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.008333, allocations: 145.3 kB / 0.6519 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.008346, allocations: 25.7 kB / 0.6519 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.008379, allocations: 109.7 kB / 0.652 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.008396, allocations: 30.52 kB / 0.652 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.008436, allocations: 24.33 kB / 0.652 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.322e-05/0.008469, allocations: 317.6 kB / 0.6523 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.008612, allocations: 78.41 kB / 0.6524 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.008759, allocations: 95.47 kB / 0.6525 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.009036, allocations: 159.9 kB / 0.6527 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009038, allocations: 4 kB / 0.6527 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003237/0.009361, allocations: 203 kB / 0.6529 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.009378, allocations: 8.562 kB / 0.6529 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.009383, allocations: 1.125 kB / 0.6529 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.009397, allocations: 5.188 kB / 0.6529 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.009532, allocations: 38.38 kB / 0.6529 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.009538, allocations: 1.312 kB / 0.6529 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.009623, allocations: 21.31 kB / 0.6529 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.009634, allocations: 6.844 kB / 0.6529 GB, free: 23.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.804e-05/0.009692, allocations: 126.7 kB / 0.6531 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.009718, allocations: 12.95 kB / 0.6531 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.01008, allocations: 203.4 kB / 0.6533 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01009, allocations: 1.344 kB / 0.6533 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.01009, allocations: 0 / 0.6533 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01009, allocations: 0 / 0.6533 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.01024, allocations: 182.9 kB / 0.6534 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01024, allocations: 5.359 kB / 0.6534 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.01033, allocations: 30.73 kB / 0.6535 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01034, allocations: 5.156 kB / 0.6535 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01034, allocations: 7.938 kB / 0.6535 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01035, allocations: 1.156 kB / 0.6535 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01035, allocations: 0 / 0.6535 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.01069, allocations: 288.6 kB / 0.6538 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.0107, allocations: 10.61 kB / 0.6538 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.01072, allocations: 9 kB / 0.6538 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01085, allocations: 28.45 kB / 0.6538 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.01088, allocations: 10.52 kB / 0.6538 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01089, allocations: 7.109 kB / 0.6538 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.01093, allocations: 109.3 kB / 0.6539 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01093, allocations: 0 / 0.6539 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001794/0.01111, allocations: 26.83 kB / 0.654 GB, free: 22.98 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 (6): * Single equations (assignments): 6 * 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.0004412/0.01155, allocations: 0.8222 MB / 0.6548 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.01189, allocations: 158.8 kB / 0.6549 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01189, allocations: 1.156 kB / 0.6549 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.01204, allocations: 81.39 kB / 0.655 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01226, allocations: 12.53 kB / 0.655 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.01377, allocations: 1.857 MB / 0.6568 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.01381, allocations: 89.53 kB / 0.6569 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.01388, allocations: 18.73 kB / 0.6569 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.01394, allocations: 32.98 kB / 0.6569 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.01394, allocations: 0 / 0.6569 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.02797, allocations: 3.599 MB / 0.6605 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.519/6.547, allocations: 4.922 kB / 0.6605 GB, free: 18.32 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks_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_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.238382392562926] Failed to read output from testmodel.py, exit status != 0: 6.623597774654627 6.630701822 6.624705469 Calling exit ...