Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.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.001377/0.001377, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001607/0.001607, allocations: 215.9 kB / 22.24 MB, free: 5.242 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.789 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.02479/0.02479, allocations: 4.719 MB / 317.1 MB, free: 14.3 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.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",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.002098/0.002098, allocations: 63.91 kB / 441.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 54.5 MB / 495.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.006197/0.1127, allocations: 3.658 MB / 499.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1153, allocations: 0.9583 MB / 0.4886 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.1158, allocations: 12 kB / 0.4886 GB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.1163, allocations: 83.16 kB / 0.4886 GB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.1168, allocations: 170.5 kB / 0.4888 GB, free: 13.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.1175, allocations: 195.7 kB / 0.489 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1186, allocations: 0.7558 MB / 0.4897 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.1193, allocations: 332.8 kB / 0.4901 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006099/0.1199, allocations: 295.1 kB / 0.4903 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.1205, allocations: 262.7 kB / 0.4906 GB, free: 12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1206, allocations: 84 kB / 0.4907 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1208, allocations: 91.98 kB / 0.4908 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.121, allocations: 155.5 kB / 0.4909 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.1213, allocations: 282.9 kB / 0.4912 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009453/0.1222, allocations: 0.8486 MB / 0.492 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1222, allocations: 7.984 kB / 0.492 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1222, allocations: 0 / 0.492 GB, free: 10.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1222, allocations: 0 / 0.492 GB, free: 10.54 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001764/0.124, allocations: 0.8388 MB / 0.4928 GB, free: 9.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.1241, allocations: 12.03 kB / 0.4928 GB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.1242, allocations: 86.7 kB / 0.4929 GB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.1245, allocations: 96.48 kB / 0.493 GB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.1251, allocations: 334.1 kB / 0.4933 GB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.1252, allocations: 37.38 kB / 0.4934 GB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.1253, allocations: 48.38 kB / 0.4934 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.1264, allocations: 0.5889 MB / 0.494 GB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1264, allocations: 0 / 0.494 GB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.1265, allocations: 24 kB / 0.494 GB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1265, allocations: 15.94 kB / 0.494 GB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1275, allocations: 467.7 kB / 0.4945 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.1302, allocations: 1.558 MB / 0.496 GB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.1311, allocations: 396.7 kB / 0.4964 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.1317, allocations: 260.4 kB / 0.4966 GB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1317, allocations: 8.219 kB / 0.4966 GB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007087/0.1324, allocations: 310.8 kB / 0.4969 GB, free: 5.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.885e-06/0.1324, allocations: 4 kB / 0.4969 GB, free: 5.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001628/0.1341, allocations: 0.66 MB / 0.4976 GB, free: 4.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.1342, allocations: 85.09 kB / 0.4977 GB, free: 4.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.1346, allocations: 348.4 kB / 0.498 GB, free: 4.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.1347, allocations: 37.7 kB / 0.498 GB, free: 4.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.135, allocations: 264.4 kB / 0.4983 GB, free: 3.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1351, allocations: 138.8 kB / 0.4984 GB, free: 3.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1353, allocations: 78.08 kB / 0.4985 GB, free: 3.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1355, allocations: 354.7 kB / 0.4988 GB, free: 3.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.1361, allocations: 226.5 kB / 0.499 GB, free: 3.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.1366, allocations: 309.1 kB / 0.4993 GB, free: 2.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.1376, allocations: 0.4904 MB / 0.4998 GB, free: 2.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.1376, allocations: 8 kB / 0.4998 GB, free: 2.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001267/0.1389, allocations: 0.6191 MB / 0.5004 GB, free: 1.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.1389, allocations: 33.69 kB / 0.5005 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1389, allocations: 16.19 kB / 0.5005 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.139, allocations: 4 kB / 0.5005 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.1396, allocations: 119.9 kB / 0.5006 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.1396, allocations: 4 kB / 0.5006 GB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.14, allocations: 51.7 kB / 0.5006 GB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.14, allocations: 16 kB / 0.5007 GB, free: 1.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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.0002975/0.1403, allocations: 217.6 kB / 0.5009 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.1404, allocations: 43.75 kB / 0.5009 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.1413, allocations: 461.5 kB / 0.5013 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1413, allocations: 7.984 kB / 0.5014 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1413, allocations: 0 / 0.5014 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1413, allocations: 0 / 0.5014 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.142, allocations: 0.5041 MB / 0.5018 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.142, allocations: 0 / 0.5018 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.1426, allocations: 115.8 kB / 0.502 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1426, allocations: 3.938 kB / 0.502 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.1426, allocations: 12 kB / 0.502 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1426, allocations: 0 / 0.502 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1426, allocations: 0 / 0.502 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.1442, allocations: 0.7897 MB / 0.5027 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.1443, allocations: 47.7 kB / 0.5028 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.1443, allocations: 8 kB / 0.5028 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1446, allocations: 27.97 kB / 0.5028 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1447, allocations: 31.94 kB / 0.5028 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1447, allocations: 15.94 kB / 0.5029 GB, free: 15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.145, allocations: 247 kB / 0.5031 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.145, allocations: 0 / 0.5031 GB, free: 14.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.1454, allocations: 135.7 kB / 0.5032 GB, free: 14.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001984/0.1474, allocations: 1.336 MB / 0.5045 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.1486, allocations: 0.528 MB / 0.5051 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1486, allocations: 0 / 0.5051 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.1491, allocations: 231.7 kB / 0.5053 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1495, allocations: 76.25 kB / 0.5053 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/0.1572, allocations: 4.613 MB / 0.5098 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1575, allocations: 263.8 kB / 0.5101 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.1578, allocations: 58.88 kB / 0.5102 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.158, allocations: 159.4 kB / 0.5103 GB, free: 7.133 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.158, allocations: 4 kB / 0.5103 GB, free: 7.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.4171, allocations: 9.643 MB / 0.5197 GB, free: 34.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.99, allocations: 3.094 kB / 0.5197 GB, free: 34.19 MB / 382.1 MB " [Timeout remaining time 648] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs_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_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.704127974342555] Failed to read output from testmodel.py, exit status != 0: 12.1034375266172 12.124654857 11.998317083 Calling exit ...