Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.0009714/0.0009714, 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.0009253/0.0009253, allocations: 170.3 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.8741/0.8741, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01377/0.01377, allocations: 3.568 MB / 262.8 MB, free: 9.816 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 386.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.166e-05, allocations: 2.281 kB / 386.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004192/0.004213, allocations: 2.998 MB / 389.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.005706, allocations: 0.834 MB / 390.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.00591, allocations: 11.94 kB / 390.7 MB, free: 6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.006073, allocations: 55.42 kB / 390.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.006247, allocations: 138.8 kB / 390.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.006602, allocations: 159.6 kB / 391 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.007025, allocations: 0.5218 MB / 391.6 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.007304, allocations: 175.3 kB / 391.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.007602, allocations: 299.4 kB / 392 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.007796, allocations: 155.6 kB / 392.2 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.007895, allocations: 56 kB / 392.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.007979, allocations: 64 kB / 392.3 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.008041, allocations: 103.7 kB / 392.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.008187, allocations: 155.7 kB / 392.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.008635, allocations: 0.5688 MB / 393.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.008637, allocations: 0 / 393.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008638, allocations: 0 / 393.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.008644, allocations: 0 / 393.1 MB, free: 3.574 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009174/0.009562, allocations: 0.682 MB / 393.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.009601, allocations: 8.031 kB / 393.8 MB, free: 2.848 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.009656, allocations: 70.72 kB / 393.9 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.00983, allocations: 64.64 kB / 393.9 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.01017, allocations: 264.6 kB / 394.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.01028, allocations: 110.3 kB / 394.3 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.01032, allocations: 32.36 kB / 394.3 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.01083, allocations: 389.5 kB / 394.7 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.01084, allocations: 8.188 kB / 394.7 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.01086, allocations: 11.94 kB / 394.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.01087, allocations: 8 kB / 394.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.01133, allocations: 326.3 kB / 395.1 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.0126, allocations: 1.213 MB / 396.3 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.01325, allocations: 372.5 kB / 396.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.01349, allocations: 177.6 kB / 396.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01352, allocations: 8 kB / 396.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.01386, allocations: 241.5 kB / 397 MB, free: 15.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.01386, allocations: 0 / 397 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007737/0.01464, allocations: 0.4931 MB / 397.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.01468, allocations: 81.11 kB / 397.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.01496, allocations: 284.2 kB / 397.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.01498, allocations: 33.7 kB / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01509, allocations: 200.5 kB / 398.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.01514, allocations: 91.22 kB / 398.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.01522, allocations: 57.83 kB / 398.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.01531, allocations: 350.7 kB / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.01554, allocations: 181.5 kB / 398.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.01579, allocations: 227.3 kB / 399 MB, free: 13.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.01623, allocations: 371.1 kB / 399.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01623, allocations: 4 kB / 399.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006958/0.01693, allocations: 488.6 kB / 399.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.01696, allocations: 33.69 kB / 399.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01697, allocations: 7.984 kB / 399.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01699, allocations: 4.156 kB / 399.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.01749, allocations: 211.7 kB / 400.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000989/0.01848, allocations: 1.58 MB / 401.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.01865, allocations: 47.75 kB / 401.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.01867, allocations: 12 kB / 401.7 MB, free: 10.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.01881, allocations: 176.5 kB / 401.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.01884, allocations: 27.81 kB / 401.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.01933, allocations: 375.8 kB / 402.3 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01933, allocations: 4 kB / 402.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01933, allocations: 0 / 402.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01934, allocations: 0 / 402.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.01961, allocations: 364.4 kB / 402.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01961, allocations: 3.984 kB / 402.7 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.02011, allocations: 207.6 kB / 402.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.02011, allocations: 8 kB / 402.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.02013, allocations: 11.97 kB / 402.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.02139, allocations: 1.572 MB / 404.5 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02139, allocations: 3.938 kB / 404.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/0.02214, allocations: 0.5894 MB / 405.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.02218, allocations: 31.75 kB / 405.1 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.0222, allocations: 11.94 kB / 405.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.02231, allocations: 23.97 kB / 405.1 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.02237, allocations: 27.95 kB / 405.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.02239, allocations: 7.984 kB / 405.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.02253, allocations: 211.1 kB / 405.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02253, allocations: 0 / 405.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006132/0.02314, allocations: 87.89 kB / 405.5 MB, free: 6.578 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/0.02467, allocations: 1.124 MB / 406.6 MB, free: 5.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.02608, allocations: 0.54 MB / 407.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02608, allocations: 0 / 407.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.02692, allocations: 295.9 kB / 407.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.02727, allocations: 40.97 kB / 407.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.03279, allocations: 3.642 MB / 411.1 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.03294, allocations: 192.8 kB / 411.3 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.03308, allocations: 46.19 kB / 411.3 MB, free: 492 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.03325, allocations: 108.5 kB / 411.4 MB, free: 384 kB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03325, allocations: 0 / 411.4 MB, free: 384 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/0.1821, allocations: 7.864 MB / 419.3 MB, free: 34.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.985, allocations: 5.375 kB / 419.3 MB, free: 34.93 MB / 330.7 MB " [Timeout remaining time 652] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Controlled_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.795232537202537] Failed to read output from testmodel.py, exit status != 0: 8.075321352109313 8.086359207 8.076058162 Calling exit ...