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.001613/0.001613, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001987/0.001987, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.713 MB / 317.9 MB, free: 14.51 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.002055/0.002055, allocations: 63.91 kB / 442 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1144, allocations: 54.49 MB / 496.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.005191/0.1195, allocations: 2.931 MB / 499.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1213, allocations: 0.7401 MB / 0.4885 GB, free: 15.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.1216, allocations: 11.94 kB / 0.4885 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.1219, allocations: 47.52 kB / 0.4885 GB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1222, allocations: 91.14 kB / 0.4886 GB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.1226, allocations: 127.8 kB / 0.4887 GB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.1232, allocations: 390.5 kB / 0.4891 GB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.1235, allocations: 140.8 kB / 0.4893 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.1238, allocations: 159.5 kB / 0.4894 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.124, allocations: 151.4 kB / 0.4896 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.1241, allocations: 40 kB / 0.4896 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.1242, allocations: 48 kB / 0.4896 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.1243, allocations: 75.7 kB / 0.4897 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1244, allocations: 167.3 kB / 0.4899 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.125, allocations: 398.5 kB / 0.4902 GB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.125, allocations: 3.938 kB / 0.4903 GB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.125, allocations: 0 / 0.4903 GB, free: 13.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.125, allocations: 0 / 0.4903 GB, free: 13.69 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.001293/0.1263, allocations: 0.577 MB / 0.4908 GB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1263, allocations: 12.03 kB / 0.4908 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.983e-05/0.1263, allocations: 4.688 kB / 0.4908 GB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.1264, allocations: 74.66 kB / 0.4909 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.1267, allocations: 48.73 kB / 0.4909 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.127, allocations: 218 kB / 0.4912 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.127, allocations: 16.88 kB / 0.4912 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.1271, allocations: 24.38 kB / 0.4912 GB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.1278, allocations: 318.6 kB / 0.4915 GB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1278, allocations: 0 / 0.4915 GB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1278, allocations: 12 kB / 0.4915 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1278, allocations: 4 kB / 0.4915 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.1285, allocations: 245.8 kB / 0.4917 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.1302, allocations: 0.959 MB / 0.4927 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.131, allocations: 270.6 kB / 0.4929 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.1313, allocations: 134.4 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1313, allocations: 8 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.1318, allocations: 175.6 kB / 0.4932 GB, free: 10.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.1318, allocations: 0 / 0.4932 GB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001047/0.1328, allocations: 383.8 kB / 0.4936 GB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1329, allocations: 55.41 kB / 0.4937 GB, free: 10.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1331, allocations: 224.9 kB / 0.4939 GB, free: 9.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.1331, allocations: 33.7 kB / 0.4939 GB, free: 9.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.1333, allocations: 172.3 kB / 0.4941 GB, free: 9.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.1334, allocations: 79.36 kB / 0.4942 GB, free: 9.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1335, allocations: 49.7 kB / 0.4942 GB, free: 9.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1337, allocations: 334.8 kB / 0.4945 GB, free: 9.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.134, allocations: 103.9 kB / 0.4946 GB, free: 8.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.1344, allocations: 151.3 kB / 0.4948 GB, free: 8.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.135, allocations: 285.2 kB / 0.495 GB, free: 8.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.135, allocations: 4 kB / 0.495 GB, free: 8.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008278/0.1359, allocations: 362 kB / 0.4954 GB, free: 8.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.1359, allocations: 33.64 kB / 0.4954 GB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1359, allocations: 3.984 kB / 0.4954 GB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1359, allocations: 4 kB / 0.4954 GB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.1363, allocations: 59.95 kB / 0.4955 GB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1363, allocations: 4.094 kB / 0.4955 GB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.1365, allocations: 35.81 kB / 0.4955 GB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.1365, allocations: 19.92 kB / 0.4955 GB, free: 8.008 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.0001773/0.1367, allocations: 149.8 kB / 0.4957 GB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1368, allocations: 23.86 kB / 0.4957 GB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007988/0.1376, allocations: 307.7 kB / 0.496 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1376, allocations: 0 / 0.496 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1376, allocations: 0 / 0.496 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1376, allocations: 0 / 0.496 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.138, allocations: 344.4 kB / 0.4963 GB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.138, allocations: 3.938 kB / 0.4963 GB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.1383, allocations: 55.95 kB / 0.4964 GB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1384, allocations: 3.938 kB / 0.4964 GB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.1384, allocations: 15.92 kB / 0.4964 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1384, allocations: 8 kB / 0.4964 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.1384, allocations: 0 / 0.4964 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1394, allocations: 457.1 kB / 0.4968 GB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1395, allocations: 27.81 kB / 0.4969 GB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1395, allocations: 4 kB / 0.4969 GB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1397, allocations: 15.98 kB / 0.4969 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.1398, allocations: 27.95 kB / 0.4969 GB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1398, allocations: 4 kB / 0.4969 GB, free: 6.516 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.14, allocations: 164.5 kB / 0.4971 GB, free: 6.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.14, allocations: 0 / 0.4971 GB, free: 6.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1403, allocations: 71.83 kB / 0.4971 GB, free: 6.281 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.001374/0.1417, allocations: 0.991 MB / 0.4981 GB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008062/0.1425, allocations: 309.7 kB / 0.4984 GB, free: 4.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1425, allocations: 3.938 kB / 0.4984 GB, free: 4.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.1428, allocations: 124 kB / 0.4985 GB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1431, allocations: 38.55 kB / 0.4986 GB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.1477, allocations: 2.819 MB / 0.5013 GB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.1481, allocations: 0.7671 MB / 0.5021 GB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.1482, allocations: 33.61 kB / 0.5021 GB, free: 1.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.1484, allocations: 83.41 kB / 0.5022 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1484, allocations: 0 / 0.5022 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.178, allocations: 5.617 MB / 0.5077 GB, free: 11.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.51, allocations: 7.547 kB / 0.5077 GB, free: 11.49 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.257542726001702] Failed to read output from testmodel.py, exit status != 0: 11.665955621981993 11.853774448 11.725683433 Calling exit ...