Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.000865/0.000865, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.001547/0.001547, allocations: 162 kB / 22.56 MB, free: 1.965 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.9553/0.9553, allocations: 177.1 MB / 202.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5876/0.5876, allocations: 110.2 MB / 369.6 MB, free: 12.57 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.5475 GB, free: 8.66 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.608e-05, allocations: 2.281 kB / 0.5475 GB, free: 8.656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003245/0.003271, allocations: 1.758 MB / 0.5492 GB, free: 6.883 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.004492, allocations: 0.6824 MB / 0.5499 GB, free: 6.191 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.004587, allocations: 4 kB / 0.5499 GB, free: 6.188 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 5.078e-05/0.004638, allocations: 11.81 kB / 0.5499 GB, free: 6.176 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.004721, allocations: 19.78 kB / 0.5499 GB, free: 6.156 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.005348, allocations: 183.5 kB / 0.5501 GB, free: 5.977 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.005558, allocations: 131.6 kB / 0.5502 GB, free: 5.848 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.005721, allocations: 45.47 kB / 0.5503 GB, free: 5.801 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.005954, allocations: 79.86 kB / 0.5503 GB, free: 5.723 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.469e-05/0.006048, allocations: 43.88 kB / 0.5504 GB, free: 5.68 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.006077, allocations: 8 kB / 0.5504 GB, free: 5.672 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.006201, allocations: 47.97 kB / 0.5504 GB, free: 5.625 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.006235, allocations: 27.91 kB / 0.5505 GB, free: 5.598 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.006286, allocations: 39.89 kB / 0.5505 GB, free: 5.559 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.00656, allocations: 179.4 kB / 0.5507 GB, free: 5.383 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.006565, allocations: 0 / 0.5507 GB, free: 5.383 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006566, allocations: 3.938 kB / 0.5507 GB, free: 5.379 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.006572, allocations: 0 / 0.5507 GB, free: 5.379 MB / 474.7 MB 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.0005791/0.007151, allocations: 377.7 kB / 0.551 GB, free: 4.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.007203, allocations: 12.03 kB / 0.551 GB, free: 4.969 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.007247, allocations: 42.73 kB / 0.5511 GB, free: 4.918 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007591/0.008007, allocations: 120.7 kB / 0.5512 GB, free: 4.801 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.008323, allocations: 158.1 kB / 0.5513 GB, free: 4.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.008699, allocations: 119.3 kB / 0.5515 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.008725, allocations: 8.375 kB / 0.5515 GB, free: 4.473 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.009198, allocations: 235.4 kB / 0.5517 GB, free: 4.227 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.009207, allocations: 0 / 0.5517 GB, free: 4.227 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.009227, allocations: 0 / 0.5517 GB, free: 4.227 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.009234, allocations: 4 kB / 0.5517 GB, free: 4.223 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.009699, allocations: 159.8 kB / 0.5518 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009749/0.01067, allocations: 425.2 kB / 0.5522 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.01146, allocations: 214.3 kB / 0.5525 GB, free: 3.391 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.01169, allocations: 76.91 kB / 0.5525 GB, free: 3.312 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.01174, allocations: 7.984 kB / 0.5525 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.01177, allocations: 30.56 kB / 0.5526 GB, free: 3.266 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.01177, allocations: 0 / 0.5526 GB, free: 3.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008856/0.01266, allocations: 269.2 kB / 0.5528 GB, free: 2.996 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.0127, allocations: 55.39 kB / 0.5529 GB, free: 2.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.01283, allocations: 149.4 kB / 0.553 GB, free: 2.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.01286, allocations: 25.7 kB / 0.553 GB, free: 2.738 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.01293, allocations: 104.3 kB / 0.5531 GB, free: 2.633 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.01296, allocations: 27.8 kB / 0.5532 GB, free: 2.605 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.01302, allocations: 25.7 kB / 0.5532 GB, free: 2.574 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.01314, allocations: 318.8 kB / 0.5535 GB, free: 2.254 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.01336, allocations: 71.92 kB / 0.5536 GB, free: 2.184 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.0136, allocations: 94.48 kB / 0.5537 GB, free: 2.082 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.01405, allocations: 166.6 kB / 0.5538 GB, free: 1.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01405, allocations: 4 kB / 0.5538 GB, free: 1.906 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005285/0.01458, allocations: 205.4 kB / 0.554 GB, free: 1.699 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.0146, allocations: 7.938 kB / 0.554 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01461, allocations: 0 / 0.554 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.01463, allocations: 4 kB / 0.554 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.01482, allocations: 35.89 kB / 0.5541 GB, free: 1.652 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.01483, allocations: 15.98 kB / 0.5541 GB, free: 1.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.01496, allocations: 23.92 kB / 0.5541 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01497, allocations: 0 / 0.5541 GB, free: 1.613 MB / 474.7 MB 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 0.0001037/0.01508, allocations: 125.8 kB / 0.5542 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.01512, allocations: 11.89 kB / 0.5542 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/0.0157, allocations: 206.3 kB / 0.5544 GB, free: 1.258 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.0157, allocations: 0 / 0.5544 GB, free: 1.258 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.01571, allocations: 4 kB / 0.5544 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01571, allocations: 0 / 0.5544 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.01595, allocations: 185.4 kB / 0.5546 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01596, allocations: 3.984 kB / 0.5546 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.01611, allocations: 39.89 kB / 0.5546 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01612, allocations: 3.938 kB / 0.5547 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.01614, allocations: 7.984 kB / 0.5547 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01614, allocations: 4 kB / 0.5547 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01614, allocations: 0 / 0.5547 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.01668, allocations: 283.3 kB / 0.5549 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.0167, allocations: 8.141 kB / 0.5549 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.01673, allocations: 7.938 kB / 0.5549 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.01693, allocations: 27.95 kB / 0.555 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.01698, allocations: 11.98 kB / 0.555 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.017, allocations: 3.984 kB / 0.555 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.01707, allocations: 109.1 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01707, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.01733, allocations: 23.94 kB / 0.5551 GB, free: 0.4922 MB / 474.7 MB 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.0006418/0.01797, allocations: 0.8255 MB / 0.5559 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.01835, allocations: 159.8 kB / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01836, allocations: 0 / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.01851, allocations: 79.91 kB / 0.5562 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01876, allocations: 11.94 kB / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.02067, allocations: 1.842 MB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.02074, allocations: 89.31 kB / 0.558 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.02081, allocations: 15.98 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.02088, allocations: 32.48 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02088, allocations: 7.938 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.04261, allocations: 3.592 MB / 0.5616 GB, free: 9.855 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.071, allocations: 8 kB / 0.5616 GB, free: 9.848 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.789478848688304] Failed to read output from testmodel.py, exit status != 0: 7.156771558336914 7.169552377 7.160878529 Calling exit ...