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.001422/0.001422, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001436/0.001436, allocations: 213.5 kB / 22.24 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.781 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.02487/0.02487, allocations: 4.704 MB / 317.1 MB, free: 14.4 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.001998/0.001998, allocations: 63.91 kB / 441.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 54.5 MB / 495.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005457/0.111, allocations: 3.643 MB / 499.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1132, allocations: 0.9621 MB / 0.4886 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1134, allocations: 11.94 kB / 0.4886 GB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1137, allocations: 83.16 kB / 0.4886 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.114, allocations: 174.5 kB / 0.4888 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.1146, allocations: 191.7 kB / 0.489 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.1155, allocations: 0.7597 MB / 0.4897 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005964/0.1161, allocations: 328.8 kB / 0.49 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.1165, allocations: 299.1 kB / 0.4903 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.117, allocations: 262.8 kB / 0.4906 GB, free: 12.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1171, allocations: 84 kB / 0.4907 GB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1173, allocations: 95.98 kB / 0.4908 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1174, allocations: 151.5 kB / 0.4909 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.1177, allocations: 278.9 kB / 0.4912 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1187, allocations: 0.8487 MB / 0.492 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1187, allocations: 3.984 kB / 0.492 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1187, allocations: 0 / 0.492 GB, free: 10.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1188, allocations: 0 / 0.492 GB, free: 10.62 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.001734/0.1205, allocations: 0.8388 MB / 0.4928 GB, free: 9.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1205, allocations: 12.03 kB / 0.4928 GB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.1207, allocations: 90.7 kB / 0.4929 GB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.121, allocations: 100.5 kB / 0.493 GB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.1216, allocations: 338.1 kB / 0.4933 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.1217, allocations: 33.38 kB / 0.4934 GB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.1217, allocations: 52.31 kB / 0.4934 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.1229, allocations: 0.5967 MB / 0.494 GB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1229, allocations: 0 / 0.494 GB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.1229, allocations: 16 kB / 0.494 GB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.123, allocations: 12 kB / 0.494 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.124, allocations: 471.6 kB / 0.4945 GB, free: 8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.1266, allocations: 1.554 MB / 0.496 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/0.1275, allocations: 389.8 kB / 0.4964 GB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.128, allocations: 254.2 kB / 0.4966 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.128, allocations: 8.219 kB / 0.4966 GB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006619/0.1287, allocations: 313.8 kB / 0.4969 GB, free: 5.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.863e-06/0.1287, allocations: 0 / 0.4969 GB, free: 5.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001551/0.1303, allocations: 0.6559 MB / 0.4976 GB, free: 4.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.1303, allocations: 93.09 kB / 0.4976 GB, free: 4.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.1308, allocations: 340.5 kB / 0.498 GB, free: 4.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.1308, allocations: 41.58 kB / 0.498 GB, free: 4.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.1311, allocations: 272.4 kB / 0.4983 GB, free: 3.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.1312, allocations: 130.9 kB / 0.4984 GB, free: 3.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1314, allocations: 78.08 kB / 0.4985 GB, free: 3.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1316, allocations: 354.7 kB / 0.4988 GB, free: 3.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.132, allocations: 230.5 kB / 0.499 GB, free: 3.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.1326, allocations: 309.1 kB / 0.4993 GB, free: 2.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.1336, allocations: 0.5061 MB / 0.4998 GB, free: 2.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1336, allocations: 0 / 0.4998 GB, free: 2.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001222/0.1348, allocations: 0.6192 MB / 0.5004 GB, free: 1.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.1348, allocations: 41.72 kB / 0.5005 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1349, allocations: 0 / 0.5005 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.1349, allocations: 4 kB / 0.5005 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.1355, allocations: 123.8 kB / 0.5006 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1355, allocations: 4 kB / 0.5006 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.1358, allocations: 55.7 kB / 0.5006 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.1358, allocations: 16 kB / 0.5007 GB, free: 1.422 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.0002675/0.1361, allocations: 220 kB / 0.5009 GB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.1362, allocations: 39.75 kB / 0.5009 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009013/0.1371, allocations: 461.4 kB / 0.5013 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1371, allocations: 8.172 kB / 0.5013 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1371, allocations: 64 / 0.5013 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1371, allocations: 7.984 kB / 0.5014 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.1377, allocations: 0.5002 MB / 0.5018 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1377, allocations: 0 / 0.5018 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.1383, allocations: 119.8 kB / 0.502 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.1383, allocations: 0 / 0.502 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.1383, allocations: 8 kB / 0.502 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1383, allocations: 0 / 0.502 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1383, allocations: 4 kB / 0.502 GB, free: 16 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.1399, allocations: 0.782 MB / 0.5027 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.14, allocations: 51.64 kB / 0.5028 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.1401, allocations: 15.94 kB / 0.5028 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.1403, allocations: 23.97 kB / 0.5028 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1404, allocations: 35.94 kB / 0.5029 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.1404, allocations: 8 kB / 0.5029 GB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.1407, allocations: 251 kB / 0.5031 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1407, allocations: 4 kB / 0.5031 GB, free: 14.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.1411, allocations: 135.7 kB / 0.5032 GB, free: 14.7 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.001899/0.143, allocations: 1.334 MB / 0.5045 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.1441, allocations: 0.528 MB / 0.5051 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1441, allocations: 0 / 0.5051 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.1446, allocations: 240 kB / 0.5053 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.145, allocations: 57.34 kB / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/0.1521, allocations: 4.621 MB / 0.5098 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1524, allocations: 263.8 kB / 0.5101 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.1527, allocations: 54.94 kB / 0.5102 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.153, allocations: 167.4 kB / 0.5103 GB, free: 7.207 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.153, allocations: 0 / 0.5103 GB, free: 7.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/0.3944, allocations: 9.652 MB / 0.5197 GB, free: 34.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 5.328 kB / 0.5197 GB, free: 34.15 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.198799784760922] Failed to read output from testmodel.py, exit status != 0: 11.78706143097952 11.806312338 11.684658618 Calling exit ...