Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001299/0.001299, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001407/0.001407, allocations: 222.4 kB / 23.03 MB, free: 4.945 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.02442/0.02442, allocations: 4.719 MB / 317.9 MB, free: 14.33 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_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="cs",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.002002/0.002002, allocations: 71.89 kB / 442 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1175, allocations: 54.49 MB / 496.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.005659/0.1232, allocations: 2.71 MB / 499.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.125, allocations: 0.7283 MB / 499.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1252, allocations: 4 kB / 499.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.1254, allocations: 43.52 kB / 499.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1257, allocations: 91.2 kB / 0.4883 GB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.1261, allocations: 119.8 kB / 0.4884 GB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.1267, allocations: 390.4 kB / 0.4888 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.1271, allocations: 140.8 kB / 0.4889 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.1275, allocations: 163.5 kB / 0.4891 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1278, allocations: 151.4 kB / 0.4892 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.1279, allocations: 36 kB / 0.4893 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.128, allocations: 48 kB / 0.4893 GB, free: 14.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.1281, allocations: 71.77 kB / 0.4894 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.1283, allocations: 135.4 kB / 0.4895 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.1288, allocations: 410.5 kB / 0.4899 GB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1288, allocations: 3.938 kB / 0.4899 GB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1288, allocations: 4 kB / 0.4899 GB, free: 13.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.1288, allocations: 0 / 0.4899 GB, free: 13.56 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001324/0.1302, allocations: 0.5731 MB / 0.4905 GB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.1302, allocations: 8.031 kB / 0.4905 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.616e-05/0.1302, allocations: 8.688 kB / 0.4905 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.1303, allocations: 58.73 kB / 0.4905 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.1306, allocations: 52.72 kB / 0.4906 GB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1309, allocations: 221.9 kB / 0.4908 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.131, allocations: 20.88 kB / 0.4908 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.131, allocations: 24.38 kB / 0.4908 GB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.1318, allocations: 310.6 kB / 0.4911 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1318, allocations: 0 / 0.4911 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.1318, allocations: 12 kB / 0.4911 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1318, allocations: 4 kB / 0.4912 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.1325, allocations: 245.8 kB / 0.4914 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.1341, allocations: 0.8425 MB / 0.4922 GB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.1349, allocations: 266.7 kB / 0.4925 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.1352, allocations: 136.7 kB / 0.4926 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1352, allocations: 3.984 kB / 0.4926 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.1357, allocations: 177.7 kB / 0.4928 GB, free: 10.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.434e-06/0.1357, allocations: 0 / 0.4928 GB, free: 10.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001036/0.1367, allocations: 377.2 kB / 0.4931 GB, free: 10.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1368, allocations: 59.34 kB / 0.4932 GB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.137, allocations: 232.9 kB / 0.4934 GB, free: 9.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.1371, allocations: 29.7 kB / 0.4934 GB, free: 9.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1372, allocations: 172.3 kB / 0.4936 GB, free: 9.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.1373, allocations: 75.33 kB / 0.4937 GB, free: 9.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1374, allocations: 49.7 kB / 0.4937 GB, free: 9.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1376, allocations: 330.8 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.1379, allocations: 137.6 kB / 0.4942 GB, free: 8.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.1383, allocations: 181 kB / 0.4943 GB, free: 8.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.1389, allocations: 285.2 kB / 0.4946 GB, free: 8.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1389, allocations: 0 / 0.4946 GB, free: 8.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008607/0.1398, allocations: 395.7 kB / 0.495 GB, free: 8.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.1398, allocations: 37.69 kB / 0.495 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1398, allocations: 4 kB / 0.495 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1398, allocations: 0 / 0.495 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.1402, allocations: 63.89 kB / 0.4951 GB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1402, allocations: 0 / 0.4951 GB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.1404, allocations: 35.97 kB / 0.4951 GB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.1404, allocations: 11.98 kB / 0.4951 GB, free: 7.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001895/0.1406, allocations: 153.7 kB / 0.4953 GB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.1407, allocations: 23.86 kB / 0.4953 GB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.1414, allocations: 301 kB / 0.4956 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1414, allocations: 7.938 kB / 0.4956 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1414, allocations: 0 / 0.4956 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1414, allocations: 4 kB / 0.4956 GB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.1418, allocations: 312.5 kB / 0.4959 GB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1418, allocations: 3.938 kB / 0.4959 GB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.1421, allocations: 51.95 kB / 0.496 GB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1421, allocations: 3.938 kB / 0.496 GB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.1422, allocations: 8 kB / 0.496 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1422, allocations: 0 / 0.496 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1422, allocations: 0 / 0.496 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1432, allocations: 462.8 kB / 0.4964 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1433, allocations: 27.77 kB / 0.4964 GB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.1433, allocations: 11.98 kB / 0.4964 GB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1435, allocations: 15.98 kB / 0.4965 GB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.1436, allocations: 28.02 kB / 0.4965 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1436, allocations: 4 kB / 0.4965 GB, free: 6.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1437, allocations: 164.5 kB / 0.4966 GB, free: 6.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1437, allocations: 0 / 0.4966 GB, free: 6.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.1441, allocations: 67.89 kB / 0.4967 GB, free: 6.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001349/0.1454, allocations: 0.9977 MB / 0.4977 GB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007524/0.1462, allocations: 328.9 kB / 0.498 GB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1462, allocations: 0 / 0.498 GB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.1465, allocations: 132 kB / 0.4981 GB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1469, allocations: 44.36 kB / 0.4982 GB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.1518, allocations: 2.924 MB / 0.501 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.152, allocations: 158.5 kB / 0.5012 GB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.1522, allocations: 29.62 kB / 0.5012 GB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.1524, allocations: 83.41 kB / 0.5013 GB, free: 1.359 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1524, allocations: 0 / 0.5013 GB, free: 1.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.1834, allocations: 5.712 MB / 0.5069 GB, free: 11.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.68, allocations: 6.812 kB / 0.5069 GB, free: 11.82 MB / 382.1 MB " [Timeout remaining time 648] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.424129274091683] Failed to read output from testmodel.py, exit status != 0: 11.848401681054384 12.033585271 11.901555189 Calling exit ...