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.001313/0.001313, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.001366/0.001366, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.02503/0.02503, allocations: 4.714 MB / 313.6 MB, free: 15.67 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.002056/0.002056, allocations: 71.88 kB / 436.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 54.46 MB / 490.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.006099/0.1179, allocations: 4.004 MB / 494.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1203, allocations: 1.001 MB / 495.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.1206, allocations: 15.94 kB / 495.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1208, allocations: 79.22 kB / 495.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1212, allocations: 170.5 kB / 495.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.1217, allocations: 199.7 kB / 496 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009509/0.1227, allocations: 0.7558 MB / 496.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.1234, allocations: 376.3 kB / 497.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.1238, allocations: 291.1 kB / 497.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.1242, allocations: 298.7 kB / 497.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1243, allocations: 84 kB / 497.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1245, allocations: 92 kB / 497.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.1247, allocations: 159.6 kB / 498 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.125, allocations: 346.5 kB / 498.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009644/0.126, allocations: 0.8448 MB / 499.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.126, allocations: 4 kB / 499.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.126, allocations: 0 / 499.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.126, allocations: 0 / 499.2 MB, free: 13.86 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.001782/0.1278, allocations: 0.914 MB / 0.4884 GB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1278, allocations: 12.03 kB / 0.4884 GB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.1279, allocations: 90.7 kB / 0.4885 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.1283, allocations: 96.48 kB / 0.4886 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.1288, allocations: 391.3 kB / 0.4889 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.1289, allocations: 33.38 kB / 0.489 GB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.129, allocations: 48.38 kB / 0.489 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1301, allocations: 0.5966 MB / 0.4896 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1301, allocations: 0 / 0.4896 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.1302, allocations: 16 kB / 0.4896 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1302, allocations: 12 kB / 0.4896 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1313, allocations: 471.6 kB / 0.4901 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.1342, allocations: 1.899 MB / 0.4919 GB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.1351, allocations: 400.9 kB / 0.4923 GB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.1356, allocations: 255.9 kB / 0.4926 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.1357, allocations: 4.281 kB / 0.4926 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/0.1364, allocations: 309.4 kB / 0.4929 GB, free: 8.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.1364, allocations: 0 / 0.4929 GB, free: 8.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001611/0.138, allocations: 0.6607 MB / 0.4935 GB, free: 7.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.138, allocations: 85.11 kB / 0.4936 GB, free: 7.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.1385, allocations: 344.5 kB / 0.4939 GB, free: 7.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.1385, allocations: 33.7 kB / 0.4939 GB, free: 6.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.1388, allocations: 264.4 kB / 0.4942 GB, free: 6.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.139, allocations: 138.8 kB / 0.4943 GB, free: 6.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1392, allocations: 74.12 kB / 0.4944 GB, free: 6.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.1394, allocations: 354.7 kB / 0.4947 GB, free: 6.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.1399, allocations: 204.8 kB / 0.4949 GB, free: 5.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.1404, allocations: 271.4 kB / 0.4952 GB, free: 5.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.1414, allocations: 0.4983 MB / 0.4957 GB, free: 5.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1414, allocations: 0 / 0.4957 GB, free: 5.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001248/0.1427, allocations: 0.6017 MB / 0.4963 GB, free: 4.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.1427, allocations: 29.7 kB / 0.4963 GB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1427, allocations: 4 kB / 0.4963 GB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1427, allocations: 4 kB / 0.4963 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.1433, allocations: 119.9 kB / 0.4964 GB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.1433, allocations: 4 kB / 0.4964 GB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.1437, allocations: 59.89 kB / 0.4965 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.1437, allocations: 19.98 kB / 0.4965 GB, free: 4.254 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.0003003/0.144, allocations: 219.3 kB / 0.4967 GB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.1441, allocations: 35.77 kB / 0.4967 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/0.1451, allocations: 465.7 kB / 0.4972 GB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.1451, allocations: 4 kB / 0.4972 GB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1451, allocations: 7.938 kB / 0.4972 GB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1451, allocations: 0 / 0.4972 GB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.1459, allocations: 0.6025 MB / 0.4978 GB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1459, allocations: 4 kB / 0.4978 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.1465, allocations: 103.9 kB / 0.4979 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.1465, allocations: 4 kB / 0.4979 GB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.1465, allocations: 12 kB / 0.4979 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1465, allocations: 3.938 kB / 0.4979 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1465, allocations: 3.984 kB / 0.4979 GB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.1482, allocations: 0.7904 MB / 0.4987 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.1483, allocations: 120.9 kB / 0.4988 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.1484, allocations: 7.938 kB / 0.4988 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1486, allocations: 27.97 kB / 0.4988 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1487, allocations: 31.95 kB / 0.4989 GB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.1488, allocations: 15.98 kB / 0.4989 GB, free: 1.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000309/0.1491, allocations: 243 kB / 0.4991 GB, free: 1.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1491, allocations: 0 / 0.4991 GB, free: 1.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.1496, allocations: 131.7 kB / 0.4992 GB, free: 1.344 MB / 366.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.002063/0.1516, allocations: 1.347 MB / 0.5005 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.1528, allocations: 0.5033 MB / 0.501 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1528, allocations: 4 kB / 0.501 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.1533, allocations: 227.8 kB / 0.5013 GB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.1538, allocations: 61.78 kB / 0.5013 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007991/0.1618, allocations: 4.492 MB / 0.5057 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.1623, allocations: 0.8657 MB / 0.5065 GB, free: 9.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.1626, allocations: 62.92 kB / 0.5066 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.1629, allocations: 159.4 kB / 0.5068 GB, free: 9.422 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1629, allocations: 0 / 0.5068 GB, free: 9.422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.2044, allocations: 8.936 MB / 0.5155 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/8.863, allocations: 7.219 kB / 0.5155 GB, free: 0.6055 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.7431356087327] Failed to read output from testmodel.py, exit status != 0: 9.173180538229644 9.185495189 9.056706527 Calling exit ...