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.001385/0.001385, allocations: 109.2 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.001553/0.001553, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.977 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.02551/0.02551, allocations: 4.708 MB / 317.2 MB, free: 14.5 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.001982/0.001982, allocations: 59.91 kB / 441.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09874, allocations: 54.5 MB / 495.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004332/0.1031, allocations: 2.922 MB / 498.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1045, allocations: 0.7752 MB / 499.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1047, allocations: 4 kB / 499.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.1048, allocations: 43.52 kB / 499.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.105, allocations: 91.14 kB / 499.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1054, allocations: 135.8 kB / 499.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.1059, allocations: 406.5 kB / 0.4884 GB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.1062, allocations: 170.4 kB / 0.4886 GB, free: 14.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.1065, allocations: 163.5 kB / 0.4887 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1068, allocations: 155.4 kB / 0.4889 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.1068, allocations: 40 kB / 0.4889 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.1069, allocations: 52 kB / 0.4889 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.107, allocations: 87.69 kB / 0.489 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.1072, allocations: 171.3 kB / 0.4892 GB, free: 14.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.1077, allocations: 438.5 kB / 0.4896 GB, free: 13.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1077, allocations: 0 / 0.4896 GB, free: 13.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1077, allocations: 4 kB / 0.4896 GB, free: 13.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1078, allocations: 3.938 kB / 0.4896 GB, free: 13.57 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.001258/0.109, allocations: 0.5736 MB / 0.4902 GB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1091, allocations: 16.03 kB / 0.4902 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.892e-05/0.1091, allocations: 66.66 kB / 0.4903 GB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.1094, allocations: 52.73 kB / 0.4903 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1098, allocations: 226 kB / 0.4905 GB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1098, allocations: 20.88 kB / 0.4905 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.1099, allocations: 20.38 kB / 0.4906 GB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.1106, allocations: 342.7 kB / 0.4909 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1106, allocations: 0 / 0.4909 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.1106, allocations: 12 kB / 0.4909 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.1106, allocations: 7.984 kB / 0.4909 GB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.1113, allocations: 277.8 kB / 0.4912 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.113, allocations: 1.006 MB / 0.4922 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/0.1137, allocations: 290.6 kB / 0.4924 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.1141, allocations: 144.8 kB / 0.4926 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1141, allocations: 4 kB / 0.4926 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.1145, allocations: 196.6 kB / 0.4928 GB, free: 10.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.933e-06/0.1145, allocations: 0 / 0.4928 GB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001089/0.1156, allocations: 423.8 kB / 0.4932 GB, free: 9.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1157, allocations: 59.41 kB / 0.4932 GB, free: 9.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.116, allocations: 236.9 kB / 0.4935 GB, free: 9.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.116, allocations: 33.7 kB / 0.4935 GB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1162, allocations: 164.3 kB / 0.4936 GB, free: 9.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.1162, allocations: 83.36 kB / 0.4937 GB, free: 9.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/0.1163, allocations: 49.7 kB / 0.4938 GB, free: 9.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1165, allocations: 330.8 kB / 0.4941 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.1168, allocations: 123.9 kB / 0.4942 GB, free: 8.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1172, allocations: 167.3 kB / 0.4944 GB, free: 8.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.1178, allocations: 317.2 kB / 0.4947 GB, free: 8.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1178, allocations: 0 / 0.4947 GB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008052/0.1186, allocations: 394 kB / 0.495 GB, free: 7.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.1187, allocations: 29.7 kB / 0.4951 GB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1187, allocations: 0 / 0.4951 GB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1187, allocations: 7.938 kB / 0.4951 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.119, allocations: 59.95 kB / 0.4951 GB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.119, allocations: 4.094 kB / 0.4951 GB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1193, allocations: 39.8 kB / 0.4952 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.1193, allocations: 12 kB / 0.4952 GB, free: 7.605 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.0001907/0.1195, allocations: 157.8 kB / 0.4953 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.1195, allocations: 27.8 kB / 0.4954 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.1203, allocations: 339.6 kB / 0.4957 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1203, allocations: 0 / 0.4957 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1203, allocations: 0 / 0.4957 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1203, allocations: 0 / 0.4957 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1208, allocations: 356.4 kB / 0.496 GB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1208, allocations: 4 kB / 0.496 GB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.1211, allocations: 63.88 kB / 0.4961 GB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1211, allocations: 0 / 0.4961 GB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.1211, allocations: 12 kB / 0.4961 GB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1211, allocations: 7.938 kB / 0.4961 GB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1211, allocations: 3.938 kB / 0.4961 GB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.1222, allocations: 0.4917 MB / 0.4966 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1222, allocations: 31.78 kB / 0.4966 GB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.1223, allocations: 0 / 0.4966 GB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1224, allocations: 23.97 kB / 0.4966 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.1225, allocations: 19.97 kB / 0.4967 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.1226, allocations: 11.98 kB / 0.4967 GB, free: 6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.1227, allocations: 172.5 kB / 0.4968 GB, free: 5.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1227, allocations: 3.938 kB / 0.4968 GB, free: 5.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000324/0.1231, allocations: 75.89 kB / 0.4969 GB, free: 5.75 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.001435/0.1245, allocations: 1.036 MB / 0.4979 GB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.1252, allocations: 341.9 kB / 0.4983 GB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1252, allocations: 0 / 0.4983 GB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.1258, allocations: 140 kB / 0.4984 GB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1262, allocations: 40.36 kB / 0.4984 GB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.1314, allocations: 2.956 MB / 0.5013 GB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.1319, allocations: 0.7749 MB / 0.5021 GB, free: 316 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.132, allocations: 37.61 kB / 0.5021 GB, free: 276 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1322, allocations: 87.41 kB / 0.5022 GB, free: 188 kB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1322, allocations: 0 / 0.5022 GB, free: 188 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.17, allocations: 5.827 MB / 0.5079 GB, free: 10.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.57, allocations: 3.984 kB / 0.5079 GB, free: 10.5 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.32659404608421] Failed to read output from testmodel.py, exit status != 0: 11.681356239831075 11.872020251 11.760714641 Calling exit ...