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.0008066/0.0008066, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001034/0.001034, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8958/0.8958, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.01339/0.01339, allocations: 3.576 MB / 262.8 MB, free: 9.797 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 386.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.923e-05, allocations: 2.281 kB / 386.8 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003457/0.003477, allocations: 3.65 MB / 390.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.005374, allocations: 0.962 MB / 391.5 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.005592, allocations: 15.94 kB / 391.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.005774, allocations: 87.09 kB / 391.6 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.005989, allocations: 178.4 kB / 391.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.006427, allocations: 191.7 kB / 391.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.007048, allocations: 0.7828 MB / 392.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.007524, allocations: 344.7 kB / 393 MB, free: 3.617 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.008086, allocations: 443.2 kB / 393.5 MB, free: 3.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.008359, allocations: 223.4 kB / 393.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.068e-05/0.008439, allocations: 84 kB / 393.8 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.008543, allocations: 91.94 kB / 393.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.008622, allocations: 147.6 kB / 394 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.008792, allocations: 243.5 kB / 394.2 MB, free: 2.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.009426, allocations: 0.8687 MB / 395.1 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.00943, allocations: 0 / 395.1 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.009432, allocations: 0 / 395.1 MB, free: 1.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.009445, allocations: 0 / 395.1 MB, free: 1.539 MB / 314.7 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.001237/0.01068, allocations: 0.8339 MB / 395.9 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.01072, allocations: 15.97 kB / 396 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.052e-05/0.01079, allocations: 86.7 kB / 396 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.011, allocations: 88.53 kB / 396.1 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.01136, allocations: 333.4 kB / 396.5 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.01139, allocations: 37.38 kB / 396.5 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.01144, allocations: 52.33 kB / 396.5 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.01215, allocations: 0.5854 MB / 397.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01216, allocations: 192 / 397.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.01219, allocations: 24.12 kB / 397.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.0122, allocations: 15.94 kB / 397.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.01279, allocations: 471.6 kB / 397.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.01459, allocations: 1.566 MB / 399.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.01504, allocations: 404.9 kB / 399.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.01533, allocations: 263 kB / 399.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.01536, allocations: 4.281 kB / 399.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.0157, allocations: 313.6 kB / 400.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 1.453e-06/0.0157, allocations: 0 / 400.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008248/0.01653, allocations: 0.659 MB / 400.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.01657, allocations: 85.11 kB / 400.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.0168, allocations: 340.5 kB / 401.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.01683, allocations: 33.7 kB / 401.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01694, allocations: 264.4 kB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.01702, allocations: 138.8 kB / 401.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.0171, allocations: 74.2 kB / 401.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.01719, allocations: 350.8 kB / 402.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.01746, allocations: 234.6 kB / 402.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.01773, allocations: 301.7 kB / 402.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.01825, allocations: 0.5022 MB / 403.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01825, allocations: 0 / 403.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000646/0.0189, allocations: 0.6307 MB / 403.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.01893, allocations: 37.7 kB / 403.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01893, allocations: 0 / 403.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01895, allocations: 4 kB / 403.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.01926, allocations: 131.8 kB / 403.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01926, allocations: 0 / 403.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.01941, allocations: 55.64 kB / 404 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.01943, allocations: 20.12 kB / 404 MB, free: 8.348 MB / 330.7 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.0001611/0.01959, allocations: 212.9 kB / 404.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.01963, allocations: 43.7 kB / 404.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.02013, allocations: 461.4 kB / 404.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.02013, allocations: 4 kB / 404.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.02014, allocations: 0 / 404.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.02015, allocations: 7.984 kB / 404.7 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.02069, allocations: 0.5003 MB / 405.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.0207, allocations: 4 kB / 405.2 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.02098, allocations: 107.9 kB / 405.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.02098, allocations: 0 / 405.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.02101, allocations: 15.98 kB / 405.3 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.02101, allocations: 4 kB / 405.3 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.02101, allocations: 0 / 405.3 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009977/0.02201, allocations: 0.7948 MB / 406.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.02205, allocations: 51.62 kB / 406.2 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.02209, allocations: 12 kB / 406.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.02222, allocations: 23.97 kB / 406.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.02229, allocations: 35.94 kB / 406.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.0223, allocations: 8 kB / 406.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.02246, allocations: 251 kB / 406.5 MB, free: 5.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02246, allocations: 0 / 406.5 MB, free: 5.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.02273, allocations: 131.7 kB / 406.6 MB, free: 5.633 MB / 330.7 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.001038/0.02377, allocations: 1.331 MB / 407.9 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005964/0.02436, allocations: 0.5316 MB / 408.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02437, allocations: 4 kB / 408.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.02462, allocations: 240 kB / 408.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.02488, allocations: 45.48 kB / 408.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1332/0.1581, allocations: 4.515 MB / 413.3 MB, free: 35.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1583, allocations: 269.7 kB / 413.5 MB, free: 35.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.1585, allocations: 62.97 kB / 413.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.1587, allocations: 159.5 kB / 413.8 MB, free: 35.38 MB / 330.7 MB Notification: Performance of SimCode: time 2.064e-06/0.1587, allocations: 3.906 kB / 413.8 MB, free: 35.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.1839, allocations: 9.786 MB / 423.5 MB, free: 32.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.274, allocations: 2.344 kB / 423.6 MB, free: 32.78 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.04028451256454] Failed to read output from testmodel.py, exit status != 0: 7.357130162417889 7.368843929 7.357090623 Calling exit ...