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.0018/0.0018, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.00186/0.00186, allocations: 213.3 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.02515/0.02515, allocations: 4.717 MB / 317.2 MB, free: 14.53 MB / 254.1 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: FastBuildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 65.92 kB / 441.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 54.5 MB / 495.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005231/0.1197, allocations: 3.25 MB / 499 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1216, allocations: 0.8652 MB / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.1219, allocations: 11.94 kB / 499.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1221, allocations: 55.44 kB / 499.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1224, allocations: 122.9 kB / 0.4883 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.1231, allocations: 155.7 kB / 0.4885 GB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.1239, allocations: 0.5141 MB / 0.489 GB, free: 14.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.1244, allocations: 183.4 kB / 0.4892 GB, free: 14.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.1248, allocations: 211.3 kB / 0.4894 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.1251, allocations: 203.2 kB / 0.4896 GB, free: 13.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.949e-05/0.1252, allocations: 60 kB / 0.4896 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1253, allocations: 60 kB / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1255, allocations: 107.7 kB / 0.4898 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.1257, allocations: 223.1 kB / 0.49 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.1265, allocations: 0.5605 MB / 0.4905 GB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1265, allocations: 0 / 0.4905 GB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1265, allocations: 0 / 0.4905 GB, free: 12.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.1265, allocations: 0 / 0.4905 GB, free: 12.67 MB / 366.1 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.001624/0.1281, allocations: 0.675 MB / 0.4912 GB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1282, allocations: 8.031 kB / 0.4912 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.111e-05/0.1283, allocations: 66.72 kB / 0.4913 GB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.1286, allocations: 60.69 kB / 0.4913 GB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.129, allocations: 273.3 kB / 0.4916 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.1292, allocations: 106.3 kB / 0.4917 GB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.1293, allocations: 32.38 kB / 0.4917 GB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.1302, allocations: 396.9 kB / 0.4921 GB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1302, allocations: 7.938 kB / 0.4921 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.1303, allocations: 12 kB / 0.4921 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1303, allocations: 8 kB / 0.4921 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.1311, allocations: 322.4 kB / 0.4924 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.1335, allocations: 1.464 MB / 0.4939 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1346, allocations: 365.3 kB / 0.4942 GB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.135, allocations: 188.9 kB / 0.4944 GB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.1351, allocations: 8 kB / 0.4944 GB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005823/0.1356, allocations: 229 kB / 0.4946 GB, free: 8.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.1356, allocations: 0 / 0.4946 GB, free: 8.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001376/0.137, allocations: 0.4893 MB / 0.4951 GB, free: 7.754 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1371, allocations: 85.09 kB / 0.4952 GB, free: 7.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1375, allocations: 308.1 kB / 0.4955 GB, free: 7.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1375, allocations: 33.7 kB / 0.4955 GB, free: 7.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1377, allocations: 192.6 kB / 0.4957 GB, free: 7.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.578e-05/0.1378, allocations: 95.2 kB / 0.4958 GB, free: 7.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1379, allocations: 57.69 kB / 0.4958 GB, free: 6.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.138, allocations: 338.8 kB / 0.4962 GB, free: 6.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.1385, allocations: 155.8 kB / 0.4963 GB, free: 6.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.1389, allocations: 201 kB / 0.4965 GB, free: 6.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.1397, allocations: 367.1 kB / 0.4968 GB, free: 5.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1397, allocations: 4 kB / 0.4968 GB, free: 5.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001013/0.1407, allocations: 454.8 kB / 0.4973 GB, free: 5.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.1408, allocations: 33.7 kB / 0.4973 GB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1408, allocations: 4.156 kB / 0.4973 GB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1408, allocations: 4 kB / 0.4973 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.1418, allocations: 215.7 kB / 0.4975 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.1438, allocations: 1.581 MB / 0.4991 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.1441, allocations: 39.81 kB / 0.4991 GB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.1441, allocations: 15.98 kB / 0.4991 GB, free: 3.395 MB / 366.1 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.0002267/0.1443, allocations: 184.8 kB / 0.4993 GB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1444, allocations: 27.81 kB / 0.4993 GB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009273/0.1453, allocations: 375.6 kB / 0.4997 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1453, allocations: 4 kB / 0.4997 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1453, allocations: 0 / 0.4997 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1453, allocations: 4 kB / 0.4997 GB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.1458, allocations: 428.2 kB / 0.5001 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1458, allocations: 0 / 0.5001 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.1468, allocations: 207.7 kB / 0.5003 GB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1468, allocations: 7.938 kB / 0.5003 GB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.1468, allocations: 8 kB / 0.5003 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.1485, allocations: 1.572 MB / 0.5018 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1485, allocations: 0 / 0.5018 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1498, allocations: 0.5795 MB / 0.5024 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.1499, allocations: 35.78 kB / 0.5024 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1499, allocations: 4 kB / 0.5024 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.1502, allocations: 27.97 kB / 0.5025 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.1502, allocations: 23.95 kB / 0.5025 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.1503, allocations: 16 kB / 0.5025 GB, free: 15.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.1505, allocations: 211.1 kB / 0.5027 GB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1505, allocations: 3.938 kB / 0.5027 GB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004365/0.1509, allocations: 87.83 kB / 0.5028 GB, free: 15.43 MB / 382.1 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.001657/0.1526, allocations: 1.129 MB / 0.5039 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.1542, allocations: 0.5109 MB / 0.5044 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1542, allocations: 0 / 0.5044 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.1552, allocations: 299.8 kB / 0.5047 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1557, allocations: 59.62 kB / 0.5047 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.1621, allocations: 3.567 MB / 0.5082 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1626, allocations: 0.7909 MB / 0.509 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.1627, allocations: 34.28 kB / 0.509 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.1629, allocations: 111.4 kB / 0.5091 GB, free: 8.742 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1629, allocations: 0 / 0.5091 GB, free: 8.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.1991, allocations: 7.26 MB / 0.5162 GB, free: 1.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.01, allocations: 9.562 kB / 0.5162 GB, free: 1.637 MB / 382.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.980617670997162] Failed to read output from testmodel.py, exit status != 0: 13.133419762998528 13.30258643 13.173527704 Calling exit ...