Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001653/0.001653, 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.00231/0.00231, allocations: 210.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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.738 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.02452/0.02452, allocations: 4.71 MB / 317.1 MB, free: 14.38 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.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.001966/0.001966, allocations: 67.89 kB / 441.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09097/0.09294, allocations: 54.5 MB / 495.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004134/0.09707, allocations: 2.72 MB / 498.4 MB, free: 52 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.09837, allocations: 0.7129 MB / 499.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.0985, allocations: 7.938 kB / 499.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.09863, allocations: 39.58 kB / 499.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.09882, allocations: 99.14 kB / 499.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.09916, allocations: 115.8 kB / 499.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.0996, allocations: 394.5 kB / 499.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.09988, allocations: 128.8 kB / 499.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1001, allocations: 155.5 kB / 0.4883 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1003, allocations: 135.4 kB / 0.4884 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.1004, allocations: 40 kB / 0.4885 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.1005, allocations: 44 kB / 0.4885 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.1005, allocations: 79.7 kB / 0.4886 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1007, allocations: 139.4 kB / 0.4887 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.1011, allocations: 402.5 kB / 0.4891 GB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1011, allocations: 4 kB / 0.4891 GB, free: 13.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1011, allocations: 3.938 kB / 0.4891 GB, free: 13.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1011, allocations: 0 / 0.4891 GB, free: 13.58 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001148/0.1023, allocations: 0.577 MB / 0.4897 GB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1023, allocations: 8.031 kB / 0.4897 GB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.698e-05/0.1024, allocations: 58.73 kB / 0.4897 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.1026, allocations: 52.72 kB / 0.4898 GB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.103, allocations: 222 kB / 0.49 GB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.103, allocations: 20.86 kB / 0.49 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.1031, allocations: 24.38 kB / 0.49 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.1037, allocations: 314.8 kB / 0.4903 GB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1037, allocations: 4 kB / 0.4904 GB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1037, allocations: 8 kB / 0.4904 GB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1038, allocations: 8 kB / 0.4904 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.1044, allocations: 237.8 kB / 0.4906 GB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1058, allocations: 0.8425 MB / 0.4914 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.1065, allocations: 266.6 kB / 0.4917 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.1068, allocations: 132 kB / 0.4918 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1068, allocations: 7.938 kB / 0.4918 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/0.1072, allocations: 171.3 kB / 0.492 GB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.1072, allocations: 0 / 0.492 GB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009601/0.1082, allocations: 385.5 kB / 0.4923 GB, free: 10.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1082, allocations: 51.41 kB / 0.4924 GB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1085, allocations: 225 kB / 0.4926 GB, free: 9.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.1085, allocations: 37.7 kB / 0.4926 GB, free: 9.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1086, allocations: 172.3 kB / 0.4928 GB, free: 9.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.1087, allocations: 75.38 kB / 0.4929 GB, free: 9.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.1088, allocations: 57.64 kB / 0.4929 GB, free: 9.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.109, allocations: 326.8 kB / 0.4932 GB, free: 9.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.1093, allocations: 137.6 kB / 0.4934 GB, free: 9.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.1096, allocations: 181 kB / 0.4935 GB, free: 8.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.1102, allocations: 285.2 kB / 0.4938 GB, free: 8.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1103, allocations: 4 kB / 0.4938 GB, free: 8.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000792/0.111, allocations: 387.7 kB / 0.4942 GB, free: 8.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.1111, allocations: 37.69 kB / 0.4942 GB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1111, allocations: 4 kB / 0.4942 GB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1111, allocations: 0 / 0.4942 GB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.1114, allocations: 63.89 kB / 0.4943 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1114, allocations: 7.938 kB / 0.4943 GB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.1117, allocations: 31.97 kB / 0.4943 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.1117, allocations: 15.98 kB / 0.4943 GB, free: 7.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001683/0.1119, allocations: 145.8 kB / 0.4945 GB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.1119, allocations: 31.75 kB / 0.4945 GB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/0.1126, allocations: 309.5 kB / 0.4948 GB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1126, allocations: 4 kB / 0.4948 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1126, allocations: 7.984 kB / 0.4948 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1126, allocations: 0 / 0.4948 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.113, allocations: 300.5 kB / 0.4951 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.113, allocations: 4 kB / 0.4951 GB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.1133, allocations: 59.83 kB / 0.4952 GB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1133, allocations: 4 kB / 0.4952 GB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1134, allocations: 4 kB / 0.4952 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1134, allocations: 3.938 kB / 0.4952 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1134, allocations: 0 / 0.4952 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.1144, allocations: 462.7 kB / 0.4956 GB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.1144, allocations: 23.77 kB / 0.4956 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.1144, allocations: 11.98 kB / 0.4956 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1146, allocations: 19.98 kB / 0.4957 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.1147, allocations: 19.95 kB / 0.4957 GB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1147, allocations: 8.062 kB / 0.4957 GB, free: 6.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1149, allocations: 168.5 kB / 0.4959 GB, free: 6.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1149, allocations: 0 / 0.4959 GB, free: 6.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1152, allocations: 67.89 kB / 0.4959 GB, free: 6.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * 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 (22): * Single equations (assignments): 20 * 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.00131/0.1165, allocations: 0.987 MB / 0.4969 GB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000722/0.1172, allocations: 337.4 kB / 0.4972 GB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1172, allocations: 0 / 0.4972 GB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.1175, allocations: 123.8 kB / 0.4973 GB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.1178, allocations: 40.61 kB / 0.4974 GB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.1222, allocations: 2.931 MB / 0.5002 GB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1223, allocations: 158.5 kB / 0.5004 GB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.1225, allocations: 29.62 kB / 0.5004 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.1226, allocations: 79.41 kB / 0.5005 GB, free: 1.387 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1226, allocations: 4 kB / 0.5005 GB, free: 1.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.1562, allocations: 6.011 MB / 0.5064 GB, free: 11.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.57, allocations: 7.109 kB / 0.5064 GB, free: 11.53 MB / 382.1 MB " [Timeout remaining time 648] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined_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_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.27803754992783] Failed to read output from testmodel.py, exit status != 0: 11.682095988187939 11.880479229 11.775838854 Calling exit ...