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.001368/0.001368, 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.001437/0.001437, allocations: 212.7 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.785 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.04313/0.04313, allocations: 4.711 MB / 317.1 MB, free: 14.39 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.002046/0.002046, allocations: 64.19 kB / 441.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1076, allocations: 54.49 MB / 495.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002946/0.1105, allocations: 1.669 MB / 497.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.1115, allocations: 0.5182 MB / 497.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.1116, allocations: 0 / 497.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.1117, allocations: 15.8 kB / 497.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.1118, allocations: 27.73 kB / 497.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.112, allocations: 55.92 kB / 497.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1122, allocations: 123.6 kB / 498 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1123, allocations: 33.27 kB / 498.1 MB, free: 424 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1125, allocations: 59.78 kB / 498.1 MB, free: 364 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.1126, allocations: 55.7 kB / 498.2 MB, free: 308 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.1126, allocations: 15.98 kB / 498.2 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.087e-05/0.1127, allocations: 8 kB / 498.2 MB, free: 284 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.1127, allocations: 19.92 kB / 498.2 MB, free: 264 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.1128, allocations: 47.72 kB / 498.3 MB, free: 216 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1129, allocations: 103.6 kB / 498.4 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1129, allocations: 0 / 498.4 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.113, allocations: 4 kB / 498.4 MB, free: 108 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.113, allocations: 0 / 498.4 MB, free: 108 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.0008086/0.1138, allocations: 407.5 kB / 498.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1138, allocations: 8.031 kB / 498.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.44e-05/0.1139, allocations: 50.88 kB / 498.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.1141, allocations: 28.83 kB / 498.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1143, allocations: 164.5 kB / 499 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1143, allocations: 4.562 kB / 499 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1144, allocations: 11.94 kB / 499 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.1148, allocations: 184.8 kB / 499.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1148, allocations: 0 / 499.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1148, allocations: 11.98 kB / 499.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1148, allocations: 0 / 499.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.1152, allocations: 131.8 kB / 499.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.1161, allocations: 0.6878 MB / 0.4883 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.1165, allocations: 165 kB / 0.4885 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.1167, allocations: 84.3 kB / 0.4886 GB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1168, allocations: 11.92 kB / 0.4886 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.1171, allocations: 155.5 kB / 0.4887 GB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.1171, allocations: 0 / 0.4887 GB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007466/0.1178, allocations: 233.6 kB / 0.489 GB, free: 13.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.118, allocations: 158.2 kB / 0.4891 GB, free: 13.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1181, allocations: 174.3 kB / 0.4893 GB, free: 13.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1182, allocations: 29.7 kB / 0.4893 GB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.1182, allocations: 124 kB / 0.4894 GB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1183, allocations: 35.77 kB / 0.4895 GB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.1183, allocations: 29.66 kB / 0.4895 GB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1185, allocations: 330.8 kB / 0.4898 GB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1187, allocations: 89.86 kB / 0.4899 GB, free: 12.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.119, allocations: 125.9 kB / 0.49 GB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.1194, allocations: 177.8 kB / 0.4902 GB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1194, allocations: 0 / 0.4902 GB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005479/0.1199, allocations: 248.8 kB / 0.4904 GB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.12, allocations: 29.83 kB / 0.4904 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.12, allocations: 8 kB / 0.4904 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.12, allocations: 0 / 0.4904 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1201, allocations: 27.97 kB / 0.4905 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1201, allocations: 0 / 0.4905 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1203, allocations: 23.94 kB / 0.4905 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1203, allocations: 7.984 kB / 0.4905 GB, free: 11.83 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.0001225/0.1204, allocations: 141.6 kB / 0.4906 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1205, allocations: 15.91 kB / 0.4906 GB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.1207, allocations: 90.67 kB / 0.4907 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1207, allocations: 0 / 0.4907 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1207, allocations: 4 kB / 0.4907 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1207, allocations: 0 / 0.4907 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.1211, allocations: 297.5 kB / 0.491 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1211, allocations: 0 / 0.491 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1212, allocations: 23.97 kB / 0.491 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1212, allocations: 3.938 kB / 0.4911 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1212, allocations: 12.06 kB / 0.4911 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1212, allocations: 4.062 kB / 0.4911 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1212, allocations: 11.88 kB / 0.4911 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.1218, allocations: 294.8 kB / 0.4914 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.1218, allocations: 7.953 kB / 0.4914 GB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1218, allocations: 4 kB / 0.4914 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.1221, allocations: 23.97 kB / 0.4914 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.1222, allocations: 23.91 kB / 0.4914 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1222, allocations: 4 kB / 0.4914 GB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1223, allocations: 127.2 kB / 0.4915 GB, free: 10.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1223, allocations: 0 / 0.4915 GB, free: 10.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1226, allocations: 31.89 kB / 0.4916 GB, free: 10.64 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.001109/0.1237, allocations: 0.8952 MB / 0.4924 GB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.1242, allocations: 225 kB / 0.4927 GB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1242, allocations: 256 / 0.4927 GB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.1245, allocations: 83.86 kB / 0.4927 GB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1248, allocations: 19.92 kB / 0.4928 GB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1277, allocations: 2.176 MB / 0.4949 GB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.1278, allocations: 109.5 kB / 0.495 GB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.1279, allocations: 20.41 kB / 0.495 GB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.128, allocations: 43.41 kB / 0.495 GB, free: 6.824 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.128, allocations: 0 / 0.495 GB, free: 6.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.1565, allocations: 3.641 MB / 0.4986 GB, free: 3.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.1, allocations: 4 kB / 0.4986 GB, free: 3.32 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.740686560049653] Failed to read output from testmodel.py, exit status != 0: 11.206160472240299 11.23133549 11.113787309 Calling exit ...