Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.001321/0.001321, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00147/0.00147, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.992 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.06001/0.06001, allocations: 4.725 MB / 317.2 MB, free: 14.49 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.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.89 kB / 441.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 54.5 MB / 495.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002993/0.1129, allocations: 1.712 MB / 497.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.114, allocations: 0.5649 MB / 498 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.1141, allocations: 0 / 498 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1142, allocations: 15.8 kB / 498 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.1143, allocations: 15.81 kB / 498 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.1146, allocations: 67.84 kB / 498.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1148, allocations: 123.6 kB / 498.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.115, allocations: 29.28 kB / 498.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1152, allocations: 63.77 kB / 498.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1153, allocations: 55.7 kB / 498.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.1153, allocations: 8 kB / 498.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.054e-05/0.1154, allocations: 12 kB / 498.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1154, allocations: 31.84 kB / 498.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.1155, allocations: 51.67 kB / 498.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1157, allocations: 111.5 kB / 498.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1157, allocations: 4 kB / 498.6 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1157, allocations: 0 / 498.6 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1157, allocations: 0 / 498.6 MB, free: 376 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008751/0.1166, allocations: 391.4 kB / 499 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1166, allocations: 12.03 kB / 499 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/0.1167, allocations: 50.81 kB / 499 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.1169, allocations: 36.81 kB / 499.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1172, allocations: 160.5 kB / 499.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1172, allocations: 8.547 kB / 499.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1172, allocations: 12.12 kB / 499.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.1177, allocations: 183.5 kB / 499.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1177, allocations: 0 / 499.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1177, allocations: 0 / 499.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.1177, allocations: 4 kB / 499.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.1181, allocations: 131.8 kB / 499.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009691/0.1191, allocations: 0.7034 MB / 0.4885 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1195, allocations: 165 kB / 0.4887 GB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1197, allocations: 88.3 kB / 0.4888 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1197, allocations: 4 kB / 0.4888 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.1201, allocations: 159.5 kB / 0.4889 GB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1201, allocations: 0 / 0.4889 GB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007479/0.1208, allocations: 237.7 kB / 0.4891 GB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.121, allocations: 158.2 kB / 0.4893 GB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1211, allocations: 170.3 kB / 0.4895 GB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1212, allocations: 33.62 kB / 0.4895 GB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.1212, allocations: 124 kB / 0.4896 GB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.1213, allocations: 27.78 kB / 0.4896 GB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.1213, allocations: 33.66 kB / 0.4897 GB, free: 13.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1215, allocations: 330.8 kB / 0.49 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1217, allocations: 59.94 kB / 0.49 GB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1219, allocations: 96.17 kB / 0.4901 GB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.1224, allocations: 177.8 kB / 0.4903 GB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1224, allocations: 0 / 0.4903 GB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005368/0.1229, allocations: 219.1 kB / 0.4905 GB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.123, allocations: 37.69 kB / 0.4905 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.123, allocations: 3.938 kB / 0.4906 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.123, allocations: 4 kB / 0.4906 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1232, allocations: 28.09 kB / 0.4906 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1232, allocations: 4 kB / 0.4906 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1233, allocations: 19.94 kB / 0.4906 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1233, allocations: 8 kB / 0.4906 GB, free: 12.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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.0001296/0.1235, allocations: 129.7 kB / 0.4907 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1235, allocations: 15.91 kB / 0.4908 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1237, allocations: 94.67 kB / 0.4908 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1237, allocations: 4 kB / 0.4908 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1237, allocations: 0 / 0.4908 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1237, allocations: 3.984 kB / 0.4908 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1241, allocations: 309.5 kB / 0.4911 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1241, allocations: 4.062 kB / 0.4911 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.1242, allocations: 27.97 kB / 0.4912 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1242, allocations: 4.062 kB / 0.4912 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1242, allocations: 4 kB / 0.4912 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1242, allocations: 4 kB / 0.4912 GB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1242, allocations: 7.875 kB / 0.4912 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.1248, allocations: 291 kB / 0.4915 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.1248, allocations: 15.94 kB / 0.4915 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1248, allocations: 0 / 0.4915 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.125, allocations: 27.91 kB / 0.4915 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.1251, allocations: 23.91 kB / 0.4915 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1251, allocations: 4 kB / 0.4915 GB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1252, allocations: 127.2 kB / 0.4917 GB, free: 11.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1252, allocations: 0 / 0.4917 GB, free: 11.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1255, allocations: 27.95 kB / 0.4917 GB, free: 10.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001089/0.1265, allocations: 0.8992 MB / 0.4926 GB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005268/0.1271, allocations: 207.2 kB / 0.4928 GB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1271, allocations: 0 / 0.4928 GB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.1273, allocations: 80.3 kB / 0.4928 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1276, allocations: 20.05 kB / 0.4929 GB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.1308, allocations: 2.055 MB / 0.4949 GB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.1312, allocations: 0.7236 MB / 0.4956 GB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.831e-05/0.1313, allocations: 16.42 kB / 0.4956 GB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.1314, allocations: 35.42 kB / 0.4956 GB, free: 6.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1314, allocations: 0 / 0.4956 GB, free: 6.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.1627, allocations: 3.193 MB / 0.4987 GB, free: 3.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.21, allocations: 11.06 kB / 0.4988 GB, free: 3.664 MB / 366.1 MB " [Timeout remaining time 649] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_ArtificialInput_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_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.985400672005198] Failed to read output from testmodel.py, exit status != 0: 11.323082233997411 11.354677005 11.233537409 Calling exit ...