Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_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.001314/0.001314, 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.001454/0.001454, allocations: 214 kB / 22.25 MB, free: 5.258 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.457/1.457, 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.02441/0.02441, allocations: 4.723 MB / 317.1 MB, free: 14.32 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_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.002069/0.002069, allocations: 65.77 kB / 441.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.097, allocations: 54.5 MB / 495.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004682/0.1017, allocations: 2.708 MB / 498.4 MB, free: 32 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1033, allocations: 0.7401 MB / 499.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.1036, allocations: 4 kB / 499.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1038, allocations: 51.52 kB / 499.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.104, allocations: 87.14 kB / 499.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.1046, allocations: 135.8 kB / 499.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.1052, allocations: 410.5 kB / 499.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.1056, allocations: 158.4 kB / 500 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.106, allocations: 159.5 kB / 0.4884 GB, free: 14.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.1063, allocations: 143.4 kB / 0.4885 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.535e-05/0.1064, allocations: 40 kB / 0.4886 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1066, allocations: 48 kB / 0.4886 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.1067, allocations: 83.7 kB / 0.4887 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.1069, allocations: 139.5 kB / 0.4888 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.1075, allocations: 446.4 kB / 0.4892 GB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1075, allocations: 0 / 0.4892 GB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1075, allocations: 0 / 0.4892 GB, free: 13.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.1075, allocations: 0 / 0.4892 GB, free: 13.42 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.001398/0.1089, allocations: 0.5814 MB / 0.4898 GB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1089, allocations: 8.031 kB / 0.4898 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.053e-05/0.109, allocations: 62.66 kB / 0.4899 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.1093, allocations: 56.73 kB / 0.4899 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.1097, allocations: 226 kB / 0.4902 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.1098, allocations: 16.88 kB / 0.4902 GB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.1098, allocations: 28.36 kB / 0.4902 GB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.1105, allocations: 342.8 kB / 0.4905 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1105, allocations: 0 / 0.4905 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.1105, allocations: 12 kB / 0.4905 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1106, allocations: 4 kB / 0.4905 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.1112, allocations: 273.8 kB / 0.4908 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1129, allocations: 0.8776 MB / 0.4917 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/0.1137, allocations: 282.6 kB / 0.4919 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.1141, allocations: 152.7 kB / 0.4921 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.1141, allocations: 4 kB / 0.4921 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/0.1146, allocations: 191.2 kB / 0.4923 GB, free: 10.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.054e-06/0.1146, allocations: 0 / 0.4923 GB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001089/0.1156, allocations: 423 kB / 0.4927 GB, free: 9.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1157, allocations: 55.41 kB / 0.4927 GB, free: 9.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.116, allocations: 236.9 kB / 0.4929 GB, free: 9.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.116, allocations: 29.7 kB / 0.493 GB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1162, allocations: 180.2 kB / 0.4931 GB, free: 9.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.1163, allocations: 75.38 kB / 0.4932 GB, free: 9.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1164, allocations: 57.64 kB / 0.4933 GB, free: 9.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1166, allocations: 330.8 kB / 0.4936 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.1169, allocations: 157.6 kB / 0.4937 GB, free: 8.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.1173, allocations: 193 kB / 0.4939 GB, free: 8.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.1179, allocations: 313.2 kB / 0.4942 GB, free: 8.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.118, allocations: 0 / 0.4942 GB, free: 8.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008554/0.1188, allocations: 419.7 kB / 0.4946 GB, free: 7.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.1189, allocations: 31.89 kB / 0.4946 GB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1189, allocations: 12.08 kB / 0.4947 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1189, allocations: 3.938 kB / 0.4947 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.1192, allocations: 63.95 kB / 0.4947 GB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1192, allocations: 4 kB / 0.4947 GB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1194, allocations: 31.86 kB / 0.4948 GB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1195, allocations: 8 kB / 0.4948 GB, free: 7.492 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 (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 (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.000215/0.1197, allocations: 161.8 kB / 0.4949 GB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.1197, allocations: 31.8 kB / 0.4949 GB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.1205, allocations: 331.6 kB / 0.4953 GB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1205, allocations: 0 / 0.4953 GB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.1206, allocations: 7.984 kB / 0.4953 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1206, allocations: 0 / 0.4953 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.121, allocations: 312.5 kB / 0.4956 GB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.121, allocations: 0 / 0.4956 GB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.1213, allocations: 63.83 kB / 0.4956 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.1213, allocations: 4 kB / 0.4956 GB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.1214, allocations: 4 kB / 0.4956 GB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.1214, allocations: 7.938 kB / 0.4956 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1214, allocations: 3.984 kB / 0.4956 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.1225, allocations: 0.4984 MB / 0.4961 GB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.1225, allocations: 23.73 kB / 0.4962 GB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1226, allocations: 8 kB / 0.4962 GB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.1228, allocations: 23.97 kB / 0.4962 GB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.1229, allocations: 19.95 kB / 0.4962 GB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1229, allocations: 8 kB / 0.4962 GB, free: 5.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1231, allocations: 168.5 kB / 0.4964 GB, free: 5.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1231, allocations: 0 / 0.4964 GB, free: 5.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.1234, allocations: 71.89 kB / 0.4964 GB, free: 5.688 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,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 (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.001405/0.1248, allocations: 1.044 MB / 0.4975 GB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007723/0.1256, allocations: 374.7 kB / 0.4978 GB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1256, allocations: 0 / 0.4978 GB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.1259, allocations: 139.8 kB / 0.498 GB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1262, allocations: 32.42 kB / 0.498 GB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.131, allocations: 3.079 MB / 0.501 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.1312, allocations: 170.5 kB / 0.5012 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1313, allocations: 33.62 kB / 0.5012 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.1315, allocations: 87.39 kB / 0.5013 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1315, allocations: 0 / 0.5013 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.1665, allocations: 6.237 MB / 0.5074 GB, free: 10.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.38, allocations: 19.16 kB / 0.5074 GB, free: 10.45 MB / 382.1 MB " [Timeout remaining time 649] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_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_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.253786349203438] Failed to read output from testmodel.py, exit status != 0: 11.486046144273132 11.745745652 11.634182253 Calling exit ...