Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.00166/0.00166, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001734/0.001734, allocations: 217.1 kB / 22.99 MB, free: 4.945 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.02476/0.02476, allocations: 4.725 MB / 317.9 MB, free: 14.3 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: translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") [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.002112/0.002112, allocations: 59.91 kB / 442.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09651, allocations: 54.5 MB / 496.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003085/0.09959, allocations: 1.692 MB / 498.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1006, allocations: 0.5143 MB / 499.1 MB, free: 48 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.1007, allocations: 4 kB / 499.1 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.1008, allocations: 11.86 kB / 499.1 MB, free: 32 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.1009, allocations: 27.72 kB / 499.1 MB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1012, allocations: 63.86 kB / 499.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1014, allocations: 123.6 kB / 499.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1015, allocations: 37.23 kB / 499.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.1017, allocations: 67.7 kB / 499.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1018, allocations: 51.77 kB / 499.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1018, allocations: 8 kB / 499.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.1019, allocations: 12 kB / 499.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1019, allocations: 27.86 kB / 499.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.102, allocations: 47.7 kB / 499.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1022, allocations: 111.5 kB / 499.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1022, allocations: 8 kB / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1022, allocations: 0 / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1022, allocations: 0 / 499.7 MB, free: 15.45 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008325/0.103, allocations: 403.3 kB / 0.4884 GB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1031, allocations: 8.031 kB / 0.4884 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.1033, allocations: 32.81 kB / 0.4884 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1035, allocations: 154.3 kB / 0.4886 GB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1036, allocations: 12.31 kB / 0.4886 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1036, allocations: 12.31 kB / 0.4886 GB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.104, allocations: 166.2 kB / 0.4887 GB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.104, allocations: 3.938 kB / 0.4887 GB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.104, allocations: 0 / 0.4887 GB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.104, allocations: 4 kB / 0.4887 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.1044, allocations: 131.8 kB / 0.4889 GB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1053, allocations: 0.6416 MB / 0.4895 GB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.1058, allocations: 184.9 kB / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.1061, allocations: 96.31 kB / 0.4898 GB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1061, allocations: 4 kB / 0.4898 GB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.1064, allocations: 159.5 kB / 0.4899 GB, free: 13.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.1064, allocations: 0 / 0.4899 GB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007977/0.1072, allocations: 241.3 kB / 0.4901 GB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1073, allocations: 162.2 kB / 0.4903 GB, free: 12.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1075, allocations: 168.5 kB / 0.4905 GB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1075, allocations: 25.7 kB / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.1076, allocations: 112.4 kB / 0.4906 GB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.1077, allocations: 39.75 kB / 0.4906 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.1077, allocations: 33.7 kB / 0.4907 GB, free: 12.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1079, allocations: 322.8 kB / 0.491 GB, free: 12.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.1081, allocations: 85.64 kB / 0.4911 GB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.1084, allocations: 128.5 kB / 0.4912 GB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.1088, allocations: 181.8 kB / 0.4914 GB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1088, allocations: 0 / 0.4914 GB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006181/0.1094, allocations: 260.9 kB / 0.4916 GB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.1095, allocations: 37.69 kB / 0.4916 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1095, allocations: 3.984 kB / 0.4916 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1095, allocations: 0 / 0.4916 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1097, allocations: 31.97 kB / 0.4917 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1097, allocations: 7.875 kB / 0.4917 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1099, allocations: 27.88 kB / 0.4917 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1099, allocations: 7.984 kB / 0.4917 GB, free: 11.27 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 (13): * Single equations (assignments): 12 * 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.0001348/0.11, allocations: 137.8 kB / 0.4918 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.11, allocations: 11.91 kB / 0.4919 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.1102, allocations: 89.94 kB / 0.4919 GB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.1103, allocations: 7.984 kB / 0.4919 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1103, allocations: 0 / 0.4919 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1103, allocations: 7.938 kB / 0.492 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.1107, allocations: 361.4 kB / 0.4923 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1107, allocations: 0 / 0.4923 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1108, allocations: 32.09 kB / 0.4923 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1108, allocations: 4.469 kB / 0.4923 GB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1108, allocations: 4 kB / 0.4923 GB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1108, allocations: 3.938 kB / 0.4923 GB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.1108, allocations: 11.88 kB / 0.4924 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.1114, allocations: 369.2 kB / 0.4927 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.1115, allocations: 19.88 kB / 0.4927 GB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1115, allocations: 4 kB / 0.4927 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1117, allocations: 23.91 kB / 0.4928 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.1118, allocations: 19.97 kB / 0.4928 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1118, allocations: 4 kB / 0.4928 GB, free: 10.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1119, allocations: 127.3 kB / 0.4929 GB, free: 9.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1119, allocations: 0 / 0.4929 GB, free: 9.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1122, allocations: 31.89 kB / 0.4929 GB, free: 9.941 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 (11): * Single equations (assignments): 9 * 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.0001053/0.1123, allocations: 95.25 kB / 0.493 GB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.1129, allocations: 228.9 kB / 0.4932 GB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1129, allocations: 0 / 0.4932 GB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.1132, allocations: 88.11 kB / 0.4933 GB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1136, allocations: 20.05 kB / 0.4933 GB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.1142, allocations: 321.2 kB / 0.4936 GB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.1143, allocations: 97.17 kB / 0.4937 GB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.1144, allocations: 15.44 kB / 0.4938 GB, free: 9.004 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1144, allocations: 8 kB / 0.4938 GB, free: 8.996 MB / 366.1 MB Notification: Performance of Templates: time 0.003659/0.1181, allocations: 1.676 MB / 0.4954 GB, free: 7.324 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.729092919733375] Failed to read output from testmodel.py, exit status != 0: 0.12568719405680895 0.142389334 0.036909465 Calling exit ...