Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.0007837/0.0007837, 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.0008744/0.0008744, 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.8099/0.8099, 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.00133/0.00133, allocations: 238.5 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.6396/0.6396, allocations: 138.4 MB / 454.3 MB, free: 29.97 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.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 0.6462 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.065e-05, allocations: 10.22 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001605/0.001625, allocations: 1.267 MB / 0.6475 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.217/0.2186, allocations: 0.8383 MB / 0.6483 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.2187, allocations: 0 / 0.6483 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.2187, allocations: 1.844 kB / 0.6483 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.2187, allocations: 6.359 kB / 0.6483 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.2192, allocations: 146.2 kB / 0.6485 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.2193, allocations: 27.97 kB / 0.6485 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.2193, allocations: 4.406 kB / 0.6485 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.2195, allocations: 24.98 kB / 0.6485 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.2195, allocations: 12.67 kB / 0.6485 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2195, allocations: 1 kB / 0.6485 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.2198, allocations: 167.9 kB / 0.6487 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.2198, allocations: 7.672 kB / 0.6487 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.2198, allocations: 11.72 kB / 0.6487 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.22, allocations: 159.2 kB / 0.6489 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.22, allocations: 0 / 0.6489 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.635e-06/0.22, allocations: 0.7812 kB / 0.6489 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.22, allocations: 0.625 kB / 0.6489 GB, free: 55.9 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.0003043/0.2203, allocations: 284.9 kB / 0.6491 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2204, allocations: 12.03 kB / 0.6491 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.287e-05/0.2204, allocations: 35.36 kB / 0.6492 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.2205, allocations: 6.688 kB / 0.6492 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.465e-05/0.2205, allocations: 109.3 kB / 0.6493 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2205, allocations: 2.156 kB / 0.6493 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.2206, allocations: 3.125 kB / 0.6493 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.565e-05/0.2206, allocations: 46.58 kB / 0.6493 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2207, allocations: 0.75 kB / 0.6493 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.2207, allocations: 1.781 kB / 0.6493 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2207, allocations: 4.531 kB / 0.6493 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.2207, allocations: 25.45 kB / 0.6494 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.2208, allocations: 132.7 kB / 0.6495 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.2209, allocations: 35.09 kB / 0.6495 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.2209, allocations: 14.61 kB / 0.6495 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.575e-05/0.221, allocations: 11.86 kB / 0.6496 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.221, allocations: 34.27 kB / 0.6496 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.221, allocations: 0.9688 kB / 0.6496 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0001601/0.2212, allocations: 70.2 kB / 0.6497 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.2212, allocations: 52.97 kB / 0.6497 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.2212, allocations: 95.44 kB / 0.6498 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.2213, allocations: 33.61 kB / 0.6498 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.044e-05/0.2213, allocations: 81.78 kB / 0.6499 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2213, allocations: 26.17 kB / 0.6499 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.2213, allocations: 17.42 kB / 0.6499 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.2213, allocations: 316.4 kB / 0.6502 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.2214, allocations: 11.19 kB / 0.6503 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.2214, allocations: 7.453 kB / 0.6503 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.2214, allocations: 28.12 kB / 0.6503 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2214, allocations: 2.344 kB / 0.6503 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.818e-05/0.2215, allocations: 54.25 kB / 0.6503 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2215, allocations: 5.391 kB / 0.6504 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2215, allocations: 1.156 kB / 0.6504 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2215, allocations: 4.453 kB / 0.6504 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.2216, allocations: 14.14 kB / 0.6504 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2216, allocations: 0.6562 kB / 0.6504 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.2216, allocations: 1.469 kB / 0.6504 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2216, allocations: 2.234 kB / 0.6504 GB, free: 54.5 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 (5): * Single equations (assignments): 5 * 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.033e-05/0.2217, allocations: 116.8 kB / 0.6505 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-06/0.2217, allocations: 2.25 kB / 0.6505 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.2218, allocations: 87.38 kB / 0.6506 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2218, allocations: 5.562 kB / 0.6506 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2218, allocations: 0.875 kB / 0.6506 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2218, allocations: 0 / 0.6506 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.862e-05/0.2219, allocations: 132.6 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2219, allocations: 1.938 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.2219, allocations: 11.12 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2219, allocations: 0.8438 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.2219, allocations: 1.359 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2219, allocations: 5.75 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2219, allocations: 1.344 kB / 0.6507 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.666e-05/0.222, allocations: 90.09 kB / 0.6508 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-06/0.222, allocations: 7.266 kB / 0.6508 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.222, allocations: 0.7812 kB / 0.6508 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.222, allocations: 5.656 kB / 0.6508 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.2221, allocations: 4.703 kB / 0.6508 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.2221, allocations: 4.984 kB / 0.6508 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.36e-05/0.2221, allocations: 83.53 kB / 0.6509 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2221, allocations: 0 / 0.6509 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002099/0.2223, allocations: 53.92 kB / 0.651 GB, free: 54.02 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 (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.0003391/0.2226, allocations: 0.6858 MB / 0.6516 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.726e-05/0.2227, allocations: 29.91 kB / 0.6517 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2227, allocations: 0 / 0.6517 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.2227, allocations: 15.34 kB / 0.6517 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.2228, allocations: 12.91 kB / 0.6517 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.2232, allocations: 176.1 kB / 0.6519 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.2232, allocations: 61.72 kB / 0.6519 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.2232, allocations: 11.5 kB / 0.6519 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.2233, allocations: 13.75 kB / 0.6519 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/0.2233, allocations: 0 / 0.6519 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.2406, allocations: 2.831 MB / 0.6547 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.421/6.661, allocations: 8.125 kB / 0.6547 GB, free: 52.32 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.130979885347188] Failed to read output from testmodel.py, exit status != 0: 6.739392111077905 6.748550164 6.526614622 Calling exit ...