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.001576/0.001576, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002125/0.002125, allocations: 215.8 kB / 23.04 MB, free: 5.07 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.02472/0.02472, allocations: 4.718 MB / 317.9 MB, free: 14.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",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.001905/0.001905, allocations: 63.91 kB / 442 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 54.5 MB / 496.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005705/0.1117, allocations: 4.035 MB / 0.4888 GB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1134, allocations: 0.9933 MB / 0.4898 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1136, allocations: 11.94 kB / 0.4898 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.1138, allocations: 79.22 kB / 0.4899 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1141, allocations: 178.5 kB / 0.4901 GB, free: 13.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.1146, allocations: 195.7 kB / 0.4902 GB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008667/0.1154, allocations: 0.7597 MB / 0.491 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006303/0.1161, allocations: 352.8 kB / 0.4913 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.1165, allocations: 295.1 kB / 0.4916 GB, free: 12.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.1169, allocations: 294.7 kB / 0.4919 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.117, allocations: 84 kB / 0.492 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1172, allocations: 100 kB / 0.4921 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1173, allocations: 155.5 kB / 0.4922 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.1177, allocations: 346.5 kB / 0.4925 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009627/0.1186, allocations: 0.8486 MB / 0.4934 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1186, allocations: 0 / 0.4934 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1186, allocations: 0 / 0.4934 GB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1187, allocations: 0 / 0.4934 GB, free: 10.52 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.001776/0.1204, allocations: 0.8427 MB / 0.4942 GB, free: 9.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1205, allocations: 12.03 kB / 0.4942 GB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.261e-05/0.1205, allocations: 17.19 kB / 0.4942 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1206, allocations: 90.7 kB / 0.4943 GB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.121, allocations: 92.48 kB / 0.4944 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.1215, allocations: 334.1 kB / 0.4947 GB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.1215, allocations: 37.38 kB / 0.4948 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.1216, allocations: 48.38 kB / 0.4948 GB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1228, allocations: 0.5925 MB / 0.4954 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1228, allocations: 0 / 0.4954 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.1228, allocations: 20 kB / 0.4954 GB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.1228, allocations: 12 kB / 0.4954 GB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1239, allocations: 471.7 kB / 0.4959 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.1266, allocations: 1.847 MB / 0.4977 GB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/0.1275, allocations: 397.7 kB / 0.498 GB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.1281, allocations: 259.8 kB / 0.4983 GB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.1281, allocations: 8.281 kB / 0.4983 GB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000656/0.1288, allocations: 309.8 kB / 0.4986 GB, free: 4.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.724e-06/0.1288, allocations: 0 / 0.4986 GB, free: 4.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.00157/0.1303, allocations: 0.6599 MB / 0.4992 GB, free: 4.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.1304, allocations: 85.05 kB / 0.4993 GB, free: 4.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.1308, allocations: 344.5 kB / 0.4996 GB, free: 3.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.1309, allocations: 33.7 kB / 0.4997 GB, free: 3.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1311, allocations: 260.4 kB / 0.4999 GB, free: 3.547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.1312, allocations: 138.8 kB / 0.5001 GB, free: 3.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1313, allocations: 78.12 kB / 0.5001 GB, free: 3.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1315, allocations: 350.7 kB / 0.5005 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.132, allocations: 204.8 kB / 0.5007 GB, free: 2.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.1326, allocations: 275.4 kB / 0.5009 GB, free: 2.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1336, allocations: 0.4982 MB / 0.5014 GB, free: 1.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1336, allocations: 0 / 0.5014 GB, free: 1.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001216/0.1348, allocations: 0.6017 MB / 0.502 GB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.1349, allocations: 37.69 kB / 0.502 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1349, allocations: 4 kB / 0.502 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1349, allocations: 4 kB / 0.502 GB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.1355, allocations: 120 kB / 0.5022 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1355, allocations: 4 kB / 0.5022 GB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.1358, allocations: 55.7 kB / 0.5022 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.1359, allocations: 16 kB / 0.5022 GB, free: 1.094 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.0002754/0.1361, allocations: 225.5 kB / 0.5024 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.1362, allocations: 39.7 kB / 0.5025 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009028/0.1371, allocations: 461.6 kB / 0.5029 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1371, allocations: 7.984 kB / 0.5029 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1371, allocations: 4 kB / 0.5029 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1371, allocations: 0 / 0.5029 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.1378, allocations: 0.5704 MB / 0.5035 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1378, allocations: 8 kB / 0.5035 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.1384, allocations: 107.9 kB / 0.5036 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1384, allocations: 8 kB / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.1384, allocations: 8 kB / 0.5036 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1384, allocations: 0 / 0.5036 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1384, allocations: 3.938 kB / 0.5036 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.14, allocations: 0.7936 MB / 0.5044 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.1401, allocations: 39.77 kB / 0.5044 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.1402, allocations: 8 kB / 0.5044 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.1404, allocations: 31.91 kB / 0.5045 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.1405, allocations: 31.94 kB / 0.5045 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.1405, allocations: 12 kB / 0.5045 GB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.1408, allocations: 251 kB / 0.5048 GB, free: 14.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1408, allocations: 0 / 0.5048 GB, free: 14.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.1412, allocations: 139.6 kB / 0.5049 GB, free: 14.29 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.001896/0.1431, allocations: 1.336 MB / 0.5062 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1442, allocations: 0.4991 MB / 0.5067 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1442, allocations: 0 / 0.5067 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.1447, allocations: 235.7 kB / 0.5069 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1452, allocations: 66.89 kB / 0.507 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.1523, allocations: 4.501 MB / 0.5114 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.1529, allocations: 0.8657 MB / 0.5122 GB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.1531, allocations: 62.92 kB / 0.5123 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.1534, allocations: 159.4 kB / 0.5124 GB, free: 6.363 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1534, allocations: 0 / 0.5124 GB, free: 6.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2354/0.3888, allocations: 9.31 MB / 0.5215 GB, free: 34.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 6.594 kB / 0.5215 GB, free: 34.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.662061195005663] Failed to read output from testmodel.py, exit status != 0: 12.136267961934209 12.152179289 12.030585455 Calling exit ...