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.001358/0.001358, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.002223/0.002223, allocations: 212 kB / 19.43 MB, free: 3.637 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.04409/0.04409, allocations: 4.705 MB / 313.6 MB, free: 15.7 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.002006/0.002006, allocations: 65.92 kB / 436 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 54.46 MB / 490.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003042/0.1149, allocations: 1.712 MB / 492.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.116, allocations: 0.5493 MB / 492.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.1161, allocations: 0 / 492.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1162, allocations: 15.86 kB / 492.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.1163, allocations: 23.72 kB / 492.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1166, allocations: 59.86 kB / 492.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1168, allocations: 115.6 kB / 493 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.117, allocations: 41.38 kB / 493 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1172, allocations: 67.7 kB / 493.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1173, allocations: 55.75 kB / 493.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1173, allocations: 8 kB / 493.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.1173, allocations: 8 kB / 493.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1174, allocations: 23.92 kB / 493.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.188e-05/0.1175, allocations: 51.61 kB / 493.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1177, allocations: 119.4 kB / 493.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1177, allocations: 4 kB / 493.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1177, allocations: 0 / 493.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1177, allocations: 0 / 493.3 MB, free: 3.762 MB / 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.0009184/0.1186, allocations: 476.5 kB / 493.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1186, allocations: 8.031 kB / 493.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.1187, allocations: 50.88 kB / 493.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.119, allocations: 40.81 kB / 493.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1192, allocations: 208.1 kB / 494.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1192, allocations: 8.562 kB / 494.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1193, allocations: 12.12 kB / 494.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.1197, allocations: 173.9 kB / 494.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1197, allocations: 3.938 kB / 494.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1197, allocations: 8 kB / 494.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1197, allocations: 3.984 kB / 494.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.1201, allocations: 131.8 kB / 494.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.1211, allocations: 0.7277 MB / 495.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.1216, allocations: 177 kB / 495.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.1218, allocations: 84.23 kB / 495.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1218, allocations: 4.062 kB / 495.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003716/0.1222, allocations: 159.5 kB / 495.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.1222, allocations: 0 / 495.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008305/0.123, allocations: 233.9 kB / 495.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.1231, allocations: 162.2 kB / 496 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1233, allocations: 175.4 kB / 496.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1234, allocations: 29.7 kB / 496.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1235, allocations: 124 kB / 496.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1235, allocations: 31.73 kB / 496.3 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.1236, allocations: 25.66 kB / 496.3 MB, free: 420 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1237, allocations: 334.8 kB / 496.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.124, allocations: 55.94 kB / 496.7 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.1242, allocations: 96.16 kB / 496.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.1247, allocations: 177.8 kB / 497 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1247, allocations: 0 / 497 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005731/0.1253, allocations: 223.1 kB / 497.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.1253, allocations: 29.7 kB / 497.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1253, allocations: 4 kB / 497.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1253, allocations: 0 / 497.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.1255, allocations: 36.03 kB / 497.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1255, allocations: 0 / 497.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.1257, allocations: 31.81 kB / 497.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1257, allocations: 7.984 kB / 497.3 MB, free: 15.37 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.0001356/0.1258, allocations: 131.5 kB / 497.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1259, allocations: 19.89 kB / 497.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1261, allocations: 90.53 kB / 497.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1261, allocations: 3.984 kB / 497.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1261, allocations: 4.062 kB / 497.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1261, allocations: 4 kB / 497.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.1265, allocations: 330.5 kB / 497.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1265, allocations: 3.938 kB / 497.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1266, allocations: 27.97 kB / 497.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1266, allocations: 0 / 497.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1266, allocations: 8.062 kB / 497.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1267, allocations: 3.984 kB / 497.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1267, allocations: 3.938 kB / 497.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.1272, allocations: 290.7 kB / 498.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.1273, allocations: 93 kB / 498.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1273, allocations: 4 kB / 498.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.1275, allocations: 19.92 kB / 498.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.1276, allocations: 27.84 kB / 498.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1276, allocations: 8 kB / 498.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1277, allocations: 131.2 kB / 498.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1277, allocations: 0 / 498.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.128, allocations: 23.94 kB / 498.5 MB, free: 14.04 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.001132/0.1291, allocations: 0.8883 MB / 499.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005834/0.1297, allocations: 203.3 kB / 499.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1297, allocations: 3.938 kB / 499.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.13, allocations: 80.3 kB / 499.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1304, allocations: 22.55 kB / 499.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.1334, allocations: 2.065 MB / 0.49 GB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1338, allocations: 0.7236 MB / 0.4907 GB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.338e-05/0.1339, allocations: 16.5 kB / 0.4907 GB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.134, allocations: 35.42 kB / 0.4908 GB, free: 9.797 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.134, allocations: 0 / 0.4908 GB, free: 9.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.1601, allocations: 3.049 MB / 0.4937 GB, free: 6.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.108, allocations: 8 kB / 0.4937 GB, free: 6.816 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.770227544009686] Failed to read output from testmodel.py, exit status != 0: 8.177479316014796 8.19823417 8.07763541 Calling exit ...